made the total amount optional

This commit is contained in:
2026-04-01 19:59:31 +05:30
parent 1c7ad52d0e
commit d32915c865

View File

@@ -596,7 +596,7 @@ export class ItineraryService {
kmForNextPoint: activityItem.kmForNextPoint,
timeForNextPointMins: activityItem.travelTimeBetweenPointsMins,
paxCount: activityItem.paxCount ?? 1,
totalAmount: activityItem.totalAmount,
totalAmount: activityItem.totalAmount ?? null,
bookingStatus: 'pending',
isActive: true,
},
@@ -835,7 +835,7 @@ export class ItineraryService {
kmForNextPoint: activityItem.kmForNextPoint,
timeForNextPointMins: activityItem.travelTimeBetweenPointsMins,
paxCount: activityItem.paxCount ?? 1,
totalAmount: activityItem.totalAmount,
totalAmount: activityItem.totalAmount ?? null,
bookingStatus: 'pending',
isActive: true,
},