Admin Workflow - Code Refactor for development branch only

This commit is contained in:
Dillon Ngo
2025-02-28 18:44:01 +08:00
parent 428e588d5a
commit a3563f3f5b
@@ -144,6 +144,8 @@ class CreateBookingPaymentLogic extends AbstractControllerLogic
if(PaymentMethodType::PAYMENT_METHODS[$paymentMethod] == PaymentMethodType::WALLET){
$this->updatesTransactionStatus->execute($transaction, ApprovalStatus::APPROVED);
}
return $transaction;
}
private function createConversionObject(Booking $booking, string $amount, string $paymentMethod): CurrencyConversionObject