From 485a6e2e82df3b022ef963ade4904ae1fa83e320 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Sat, 6 May 2023 18:45:00 +0800 Subject: [PATCH] merge master --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index cb9bae69..d532cae9 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1092,6 +1092,9 @@ Route::get('/billplz/audit', function (Request $request) { }else{ echo "billplz error
"; } + } +}); + Route::get('/final-duplicated-invoice-debug', function(){ $duplicatedTransactions = Transaction::select(DB::raw('owner_type, owner_id, receiver, type, GROUP_CONCAT(id) as transaction_ids, COUNT(*) as count')) ->whereNotIn('status', [ApprovalStatus::REJECTED,ApprovalStatus::SUSPENDED,ApprovalStatus::EXPIRED]) @@ -1142,4 +1145,3 @@ foreach ($duplicatedTransactions as $transaction) { } echo ''; }); -