From 6dac580add35e1e18612fba7630a10a6feef6700 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Wed, 6 Sep 2023 16:09:59 +0800 Subject: [PATCH] fix invoice --- routes/web.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 1d48167d..9d425a91 100644 --- a/routes/web.php +++ b/routes/web.php @@ -523,7 +523,8 @@ Route::get('/invoice/fix', function(){ $existing_invoice_bill_no = Transaction::where('bill_no', $bill_no)->first(); if ($existing_invoice_bill_no) { - Log::channel('regenerateInvoice')->info('Delete existing bill_no: ' . json_encode($existing_invoice_bill_no)); + Log::channel('regenerateInvoice')->info('Delete existing bill_no'); + Log::channel('regenerateInvoice')->info(json_encode($existing_invoice_bill_no)); $existing_invoice_bill_no->forceDelete(); }