mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Admin Workflow - Code Refactor for development branch only
This commit is contained in:
@@ -165,7 +165,7 @@ class CreateBookingPaymentLogic extends AbstractControllerLogic
|
||||
throw new MalformedRequestException('Your payment must not be greater than '. $outstanding .'.');
|
||||
}
|
||||
|
||||
private function handlePaymentMethods(Booking $booking, CalculationObject $configurations, string $billNumber, string $bankCode, string $email, string $paymentMethod): ?string
|
||||
private function handlePaymentMethods(Booking $booking, CalculationObject $configurations, string $billNumber, ?string $bankCode, string $email, string $paymentMethod): ?string
|
||||
{
|
||||
$paymentReference = null;
|
||||
|
||||
@@ -178,7 +178,7 @@ class CreateBookingPaymentLogic extends AbstractControllerLogic
|
||||
return $paymentReference;
|
||||
}
|
||||
|
||||
private function handlePaymentGateway(Booking $booking, CalculationObject $configurations, string $billNumber, string $bankCode, string $email): string
|
||||
private function handlePaymentGateway(Booking $booking, CalculationObject $configurations, string $billNumber, ?string $bankCode, string $email): string
|
||||
{
|
||||
$billPlzBill = $this->createsBillplzBill->execute(
|
||||
$booking->company->name,
|
||||
|
||||
Reference in New Issue
Block a user