mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix invoice
This commit is contained in:
+2
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user