navbar issue

This commit is contained in:
2021-03-07 20:14:57 +09:00
parent 78234a9243
commit 6d178b1b90
@@ -47,25 +47,25 @@ class MiningTaxesController extends Controller
$unpaid = Invoice::where([
'status' => 'Pending',
'character_id' => auth()->user()->getId(),
])->get()->paginate(15);
])->paginate(15);
//Get the late invoices
$late = Invoice::where([
'status' => 'Late',
'character_id' => auth()->user()->getId(),
])->get()->paginate(10);
])->paginate(10);
//Get the deferred invoices
$deferred = Invoice::where([
'status' => 'Deferred',
'character_id' => auth()->user()->getId(),
])->get()->paginate(10);
])->paginate(10);
//Get the paid invoices
$paid = Invoice::where([
'status' => 'Paid',
'character_id' => auth()->user()->getId(),
])->get()->paginate(15);
])->paginate(15);
//Total up the unpaid invoices
foreach($unpaid as $un) {