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(); }