added date due to unpaid invoices on admin page

This commit is contained in:
2021-04-01 20:22:42 +09:00
parent c8f85b0ccd
commit eb8c84b0c5

View File

@@ -43,7 +43,7 @@ class MiningTaxesAdminController extends Controller
'status' => 'Late', 'status' => 'Late',
])->orWhere([ ])->orWhere([
'status' => 'Deferred', 'status' => 'Deferred',
])->paginate(50); ])->orderByDesc('date_due')->paginate(50);
$totalAmount = Invoice::where([ $totalAmount = Invoice::where([
'status' => 'Pending', 'status' => 'Pending',