diff --git a/routes/web.php b/routes/web.php index 3f5c86df..3b2bf285 100644 --- a/routes/web.php +++ b/routes/web.php @@ -802,7 +802,7 @@ Route::get('/invoices/approve', function(Request $request){ Route::get('/invoices/show-duplicated', function(Request $request){ $transactionWithMultipleInvoice = DB::table('transactions') ->where('type', TransactionType::SHIPPING_INVOICE) - ->where('status', '!=' , ApprovalStatus::COMPLETED) + ->where('status', '!=' , ApprovalStatus::EXPIRED) ->where('deleted_at', null) ->select('owner_id', DB::raw('count(*) as count')) ->groupBy('owner_id')