pending in title

This commit is contained in:
Edmond Teh
2020-09-04 12:12:04 +08:00
parent 7aa52e784a
commit c20d435e00
3 changed files with 631 additions and 578 deletions
+1 -1
View File
@@ -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();