change payment pending currency date to bank slip upload date

This commit is contained in:
omair saleh
2021-06-28 12:50:18 +08:00
parent 073fc3405f
commit 6b8ba41331
@@ -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);