feat: initial foundation for collaborative canteen ordering system in vanilla PHP

This commit is contained in:
2026-08-27 17:29:13 +07:00
commit 5effce30cb
52 changed files with 4915 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
// Global Helper Functions
if (!function_exists('e')) {
function e(mixed $value): string
{
return \App\Core\View::escape($value);
}
}
if (!function_exists('money')) {
function money(float|int|string $amount): string
{
return '$' . number_format((float)$amount, 2);
}
}