diff --git a/app/Classes/Modules/Transactions/ControllersLogic/CreatePurchaseOrderTransactionLogic.php b/app/Classes/Modules/Transactions/ControllersLogic/CreatePurchaseOrderTransactionLogic.php index d765b091..91a64055 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(number_format(floor((float) $total * 100) / 10 , 2, '.', '').' = '. (float)number_format((float)$booking->fix_amount, 2, '.', '')); + dd(number_format(floor((float) $total * 100) / 10 , 2, '.', '').' = '. number_format((float)$booking->fix_amount, 2, '.', '')); $this->updatesTransactionStatus->execute($transaction, number_format(floor((float) $total * 100) / 10 , 2, '.', '') === (float)number_format((float)$booking->fix_amount, 2, '.', '') ? ApprovalStatus::PENDING_VERIFICATION : ApprovalStatus::PENDING_SUBMISSION); $this->deletesTransactionDetails->execute($transaction);