Replace entire repo content with kottgard-production-v1.1.zip (for shahikitchen-prod repo)
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
import type { OrderLine } from '../shared/order-line';
|
||||
|
||||
export type BranchLocation = 'askim' | 'backaplan' | '';
|
||||
|
||||
export interface BookingDetails {
|
||||
location: BranchLocation;
|
||||
date: string;
|
||||
time: string;
|
||||
guests: string;
|
||||
name: string;
|
||||
phone: string;
|
||||
email: string;
|
||||
notes: string;
|
||||
}
|
||||
|
||||
export type PreOrderLine = OrderLine;
|
||||
|
||||
export interface BookingInquiry {
|
||||
booking: BookingDetails;
|
||||
preOrder: PreOrderLine[];
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
import type { BookingDetails } from './entities';
|
||||
|
||||
export function isBookingComplete(booking: BookingDetails): boolean {
|
||||
return !!(
|
||||
booking.location &&
|
||||
booking.date &&
|
||||
booking.time &&
|
||||
booking.guests &&
|
||||
booking.name &&
|
||||
booking.phone
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user