fix total equal bia

This commit is contained in:
omair saleh
2020-09-23 15:13:47 +08:00
parent c65049b227
commit a4d597f7f1
+1 -1
View File
@@ -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);
}