From cbc3fb56d41c569efa60ec695f37ce957c14817b Mon Sep 17 00:00:00 2001 From: JiaSheng Date: Thu, 7 Dec 2023 01:05:17 +0800 Subject: [PATCH] fix pay booking by wallet bug --- .../Bookings/ControllersLogic/CreateBookingPaymentLogic.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php b/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php index 83007cf8..6cf63d39 100644 --- a/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php +++ b/app/Classes/Modules/Bookings/ControllersLogic/CreateBookingPaymentLogic.php @@ -118,6 +118,8 @@ class CreateBookingPaymentLogic extends AbstractControllerLogic $paymentReference = $this->handlePaymentMethods($request, $booking, $configurations, $billNumber); + $billNumber = $this->generatesTransactionBillNumber->execute('PYMT-'); + $object = $this->createTransactionObject($booking, $configurations, $billNumber, $paymentReference); /** @var Transaction $transaction */