mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 05:53:58 +00:00
Fix a problem reported by Enqi for few transfers from 1 customer appear at wrong tab (customer view)
This commit is contained in:
@@ -139,7 +139,14 @@ class UpdateBookingAmountLogic extends AbstractControllerLogic
|
||||
$this->updatesBookingInvoiceStatus->execute($booking, $updateBookingInvoiceStatusObject);
|
||||
}
|
||||
else{
|
||||
$this->createInvoiceTransactionProcessor->execute($booking);
|
||||
// $this->createInvoiceTransactionProcessor->execute($booking);
|
||||
$this->createInvoiceTransactionProcessor->execute($booking, "", null, [
|
||||
'generateEInvoice' => false,
|
||||
'generateEInvoiceWithNormalInvoiceTemplate' => false,
|
||||
'generateEInvoiceRefund' => false,
|
||||
'bookingOriginalStatus' => $booking->status
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
return $this->resourceResponse(new BookingResource($booking));
|
||||
|
||||
@@ -130,7 +130,14 @@ class UpdateBookingAmountWithPOLogic extends AbstractControllerLogic
|
||||
$this->updatesBookingInvoiceStatus->execute($booking, $updateBookingInvoiceStatusObject);
|
||||
}
|
||||
else{
|
||||
$this->createInvoiceTransactionProcessor->execute($booking);
|
||||
// $this->createInvoiceTransactionProcessor->execute($booking);
|
||||
$this->createInvoiceTransactionProcessor->execute($booking, "", null, [
|
||||
'generateEInvoice' => false,
|
||||
'generateEInvoiceWithNormalInvoiceTemplate' => false,
|
||||
'generateEInvoiceRefund' => false,
|
||||
'bookingOriginalStatus' => $booking->status
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
$request->merge(['is_privilleged_update' => true]);
|
||||
|
||||
Reference in New Issue
Block a user