add discount to package

This commit is contained in:
ItsMalma
2025-12-03 18:47:58 +07:00
parent 78cc084939
commit 9b58977f26
7 changed files with 3574 additions and 0 deletions

View File

@@ -675,9 +675,13 @@ export class PackageController extends Controller {
madinahHotel: madinahHotel,
transportation: transportationClass,
quadPrice: body.quad_price,
quadDiscount: body.quad_discount,
triplePrice: body.triple_price,
tripleDiscount: body.triple_discount,
doublePrice: body.double_price,
doubleDiscount: body.double_discount,
infantPrice: body.infant_price,
infantDiscount: body.infant_discount,
itinerary: itineraryEntity,
createdAt: new Date(),
updatedAt: new Date(),
@@ -1258,9 +1262,13 @@ export class PackageController extends Controller {
madinahHotel: madinahHotel,
transportation: transportationClass,
quadPrice: body.quad_price,
quadDiscount: body.quad_discount,
triplePrice: body.triple_price,
tripleDiscount: body.triple_discount,
doublePrice: body.double_price,
doubleDiscount: body.double_discount,
infantPrice: body.infant_price,
infantDiscount: body.infant_discount,
itinerary: itineraryEntity,
updatedAt: new Date(),
});