fix bug with amount not matching

This commit is contained in:
omair saleh
2020-09-29 17:36:46 +08:00
parent 97fc1c9bd7
commit 4d20d244dc
@@ -105,9 +105,6 @@ class InvoiceController extends Controller
'message' => 'Booking amount expected is '.$booking->bia.'. Your Invoice amount is '.$total
], 400);
}
return response()->json([
'message' => 'successful'
], 400);
// Write to database if does not exist
$exist = Invoice::where('booking_id', $id)->first();