Replace entire repo content with code from /root/shahikitchen-google/

This commit is contained in:
root
2026-07-03 02:51:15 +00:00
parent c8b7dc95e4
commit 8ccf033329
79 changed files with 7611 additions and 439 deletions
+7 -1
View File
@@ -1,12 +1,18 @@
import type { BookingDetails } from './entities';
export function isBookingComplete(booking: BookingDetails): boolean {
const hasEventType =
booking.bookingMode === 'table' ||
(booking.eventType !== '' &&
(booking.eventType !== 'other' || booking.eventTypeOther.trim().length > 0));
return !!(
booking.location &&
booking.date &&
booking.time &&
booking.guests &&
booking.name &&
booking.phone
booking.phone &&
hasEventType
);
}