From a4d597f7f1e16cf7456875b50c6fe57ae389ee2b Mon Sep 17 00:00:00 2001 From: omair saleh Date: Wed, 23 Sep 2020 15:13:47 +0800 Subject: [PATCH] fix total equal bia --- app/Http/Controllers/InvoiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index 394ccf1a..620f41b3 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -97,7 +97,7 @@ class InvoiceController extends Controller }); if ($total !== $booking->amount) { return response()->json([ - 'message' => 'Booking amount expected is '.$booking->amount.'. Your Invoice amount is '.$total + 'message' => 'Booking amount expected is '.$booking->bia.'. Your Invoice amount is '.$total ], 400); }