mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 00:13:59 +00:00
fix update booking amount bug
This commit is contained in:
@@ -86,7 +86,7 @@ class UpdateBookingAmountLogic extends AbstractControllerLogic
|
||||
}
|
||||
|
||||
$poTransaction = $booking->transactions()->where('type', TransactionType::PURCHASE_ORDER)->first();
|
||||
$proforma = $booking->transactions()->where('type', TransactionType::PROFORMA)->delete();
|
||||
$booking->transactions()->where('type', TransactionType::PROFORMA)->delete();
|
||||
|
||||
if($poTransaction) {
|
||||
$this->updatesTransactionStatus->execute($poTransaction, ApprovalStatus::PENDING_SUBMISSION);
|
||||
|
||||
Reference in New Issue
Block a user