diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index 7e9360a4..3a7d8783 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -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();