From 979b8b2ef939ca470f9ba8c94c544da568c3d2cd Mon Sep 17 00:00:00 2001 From: edmondlang Date: Thu, 12 Oct 2023 13:06:51 +0800 Subject: [PATCH] show accident-approve-invoice --- routes/web.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/routes/web.php b/routes/web.php index 79e37341..a677560f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1222,4 +1222,12 @@ Route::get('/wallets/active', function(){ echo ''; } echo ''; +}); + +Route::get('/accident-approve-invoice', function(){ + $invoices = Transaction::where('type', TransactionType::SHIPPING_INVOICE)->whereDate('updated_at', '2023-10-12')->get(); + foreach ($invoices as $invoice) { + $orderMarking = $invoice->owner->owner->reference; + echo ''.$orderMarking.'
'; + } }); \ No newline at end of file