From 6b8ba413316fb3acc40df49a1023c3072e8a7dfd Mon Sep 17 00:00:00 2001 From: omair saleh Date: Mon, 28 Jun 2021 12:50:18 +0800 Subject: [PATCH] change payment pending currency date to bank slip upload date --- .../ControllersLogic/CreatePurchaseOrderTransactionLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Transactions/ControllersLogic/CreatePurchaseOrderTransactionLogic.php b/app/Classes/Modules/Transactions/ControllersLogic/CreatePurchaseOrderTransactionLogic.php index 7a68890b..afa5ec46 100644 --- a/app/Classes/Modules/Transactions/ControllersLogic/CreatePurchaseOrderTransactionLogic.php +++ b/app/Classes/Modules/Transactions/ControllersLogic/CreatePurchaseOrderTransactionLogic.php @@ -104,7 +104,7 @@ class CreatePurchaseOrderTransactionLogic extends AbstractControllerLogic !$transaction ? $transaction = $this->createsTransaction->execute($booking, $object) : $transaction = $this->updatesTransaction->execute($transaction, $object); - dd((float)number_format((float)$total , 2, '.', '') === (float)number_format((float)$booking->fix_amount)); + dd((float)number_format((float)$total , 2, '.', '')); $this->updatesTransactionStatus->execute($transaction, (float)number_format((float)$total , 2, '.', '') === (float)number_format((float)$booking->fix_amount, 2, '.', '') ? ApprovalStatus::PENDING_VERIFICATION : ApprovalStatus::PENDING_SUBMISSION); $this->deletesTransactionDetails->execute($transaction);