Replace entire repo content with shahikitchen-v1-prodcution.zip (v1.1 production)

This commit is contained in:
root
2026-06-25 13:44:21 +00:00
parent 284dcfa120
commit 6cd5aaa048
850 changed files with 15616 additions and 26143 deletions
@@ -0,0 +1,28 @@
import type { Branch } from '@/domain/table/table-id';
import type { OrderLine } from '@/domain/shared/order-line';
export interface TableOrderPayload {
branch: Branch;
tableNumber: string;
tableIdentifier: string;
items: OrderLine[];
notes?: string;
createdAt: string;
}
export function buildTableOrderPayload(
branch: Branch,
tableNumber: string,
tableIdentifier: string,
items: OrderLine[],
notes?: string
): TableOrderPayload {
return {
branch,
tableNumber,
tableIdentifier,
items,
notes: notes?.trim() || undefined,
createdAt: new Date().toISOString(),
};
}