{{ __('Create Document') }}
| {{ __('Doc Number') }} |
{{ __('Title') }} |
{{ __('Sum') }} |
{{ __('Date') }} |
{{ __('Action') }} |
@foreach ($documents as $document)
|
{{ formatDocumentNumber($document->number) }}
|
{{ $document->title ?? $document->transactions->first()?->desc . ' ...' }}
|
{{ formatNumber($document->transactions->where('value', '>', 0)->sum('value')) }}
|
{{ formatDate($document->date) }}
|
@if ($document->documentable)
@else
@endif
@if ($document->documentable)
@else
@endif
|
@endforeach
{{ $documents->withQueryString()->links() }}