🔄 cleanup: more order logic cleanup on the admin side mostly
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { z } from "zod";
|
||||
import { paymentDetailsModel } from "../../paymentinfo/data/entities";
|
||||
import { paymentInfoModel } from "../../paymentinfo/data/entities";
|
||||
|
||||
export enum Gender {
|
||||
Male = "male",
|
||||
@@ -45,9 +45,9 @@ export const passengerInfoModel = z.object({
|
||||
id: z.number(),
|
||||
passengerType: z.enum([PassengerType.Adult, PassengerType.Child]),
|
||||
passengerPii: customerInfoModel,
|
||||
paymentDetails: paymentDetailsModel.optional(),
|
||||
paymentInfo: paymentInfoModel.optional(),
|
||||
passengerPiiId: z.number().optional(),
|
||||
paymentDetailsId: z.number().optional(),
|
||||
paymentInfoId: z.number().optional(),
|
||||
seatSelection: z.any(),
|
||||
bagSelection: z.any(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user