2024-07-28 11:33:30 +00:00
|
|
|
@use(App\Models\Account)
|
2021-06-29 06:36:34 +00:00
|
|
|
<!-- Show outstanding invoices for all clients -->
|
|
|
|
<div class="card card-warning">
|
2024-07-28 11:33:30 +00:00
|
|
|
<div class="card-header p-2">
|
2021-06-29 06:36:34 +00:00
|
|
|
<h3 class="card-title">Invoices Due</h3>
|
|
|
|
</div>
|
|
|
|
|
2024-07-28 11:33:30 +00:00
|
|
|
<div class="card-body p-2">
|
|
|
|
@if(($list=Account::InvoicesDue())->count())
|
|
|
|
@include('theme.backend.adminlte.invoice.widget.due',['type'=>'all','list'=>$list])
|
2021-06-29 06:36:34 +00:00
|
|
|
|
|
|
|
@else
|
2024-07-28 11:33:30 +00:00
|
|
|
<p>No invoices to list</p>
|
2021-06-29 06:36:34 +00:00
|
|
|
@endif
|
|
|
|
</div>
|
2024-07-05 06:38:31 +00:00
|
|
|
</div>
|