akaunting 3.0 (the last dance)
This commit is contained in:
23
resources/views/components/widgets/latest_invoices.blade.php
Normal file
23
resources/views/components/widgets/latest_invoices.blade.php
Normal file
@ -0,0 +1,23 @@
|
||||
<div class="flex flex-col text-sm text-black-400">
|
||||
<div class="font-medium text-black mb-1">
|
||||
{{ trans('portal.latest_invoices.title') }}
|
||||
</div>
|
||||
|
||||
@if ($invoices->count())
|
||||
@foreach ($invoices as $item)
|
||||
<span class="text-xs mb-3">
|
||||
{{ trans('portal.latest_invoices.description', ['date' => company_date($item->due_at), 'invoice_number' => $item->document_number]) }}
|
||||
</span>
|
||||
@endforeach
|
||||
|
||||
@if ($invoices->count() > 2)
|
||||
<a href="{{ route('portal.invoices.index') }}" class="underline hover:text-black-700">
|
||||
{{ trans('modules.see_all_type', ['type' => trans_choice('general.invoices', 2)]) }}
|
||||
</a>
|
||||
@endif
|
||||
@else
|
||||
<span class="text-xs">
|
||||
{{ trans('portal.latest_invoices.no_data') }}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
Reference in New Issue
Block a user