diff --git a/app/Http/Controllers/InvoiceController.php b/app/Http/Controllers/InvoiceController.php index 6eee03c4..8c8b6844 100644 --- a/app/Http/Controllers/InvoiceController.php +++ b/app/Http/Controllers/InvoiceController.php @@ -22,7 +22,7 @@ class InvoiceController extends Controller $invoice = Invoice::where('booking_id', $id)->first(); if (!$invoice) { - return response().json(['message' => 'Invoice Not Found'], 404); + return response()->json(['message' => 'Invoice Not Found'], 404); } $lines = InvoiceDetails::where('invoice_id', $invoice['id'])->orderBy('order', 'asc')->get(); diff --git a/resources/assets/js/components/NewInvoice.vue b/resources/assets/js/components/NewInvoice.vue index 64f7420a..3b8e0a43 100644 --- a/resources/assets/js/components/NewInvoice.vue +++ b/resources/assets/js/components/NewInvoice.vue @@ -1,7 +1,12 @@ /* eslint-disable camelcase */ \ No newline at end of file +} +