@if ($documents->count())
{{ trans($textTitle) }}
@stack('document_number_th_start') @if (!$hideDocumentNumber) @endif @stack('document_number_th_end') @stack('contact_name_th_start') @if (!$hideContactName) @endif @stack('contact_name_th_end') @stack('amount_th_start') @if (!$hideAmount) @endif @stack('amount_th_end') @stack('issued_at_th_start') @if (!$hideIssuedAt) @endif @stack('issued_at_th_end') @stack('due_at_th_start') @if (!$hideDueAt) @endif @stack('due_at_th_end') @stack('status_th_start') @if (!$hideStatus) @endif @stack('status_th_end') @if (!$hideActions) @endif @foreach($documents as $item) @stack('document_number_td_start') @if (!$hideDocumentNumber) @endif @stack('document_number_td_end') @stack('contact_name_td_start') @if (!$hideContactName) @endif @stack('contact_name_td_end') @stack('amount_td_start') @if (!$hideAmount) @endif @stack('amount_td_end') @stack('issued_at_td_start') @if (!$hideIssuedAt) @endif @stack('issued_at_td_end') @stack('due_at_td_start') @if (!$hideDueAt) @endif @stack('due_at_td_end') @stack('status_td_start') @if (!$hideStatus) @endif @stack('status_td_end') @if (!$hideActions) @endif @endforeach
@stack('document_number_th_inside_start') {{ trans_choice($textDocumentNumber, 1) }} @stack('document_number_th_inside_end') @stack('contact_name_th_inside_start') {{ trans_choice($textContactName, 1) }} @stack('contact_name_th_inside_end') @stack('amount_th_inside_start') {{ trans('general.amount') }} @stack('amount_th_inside_end') @stack('issued_at_th_inside_start') {{ trans($textIssuedAt) }} @stack('issued_at_th_inside_end') @stack('due_at_th_inside_start') {{ trans($textDueAt) }} @stack('due_at_th_inside_end') @stack('status_th_inside_start') {{ trans_choice('general.statuses', 1) }} @stack('status_th_inside_end') {{ trans_choice('notifications.reads', 1) }}
@stack('document_number_td_inside_start') {{ $item->document_number }} @stack('document_number_td_inside_end') @stack('contact_name_td_inside_start') {{ $item->contact_name }} @stack('contact_name_td_inside_end') @stack('amount_td_inside_start') @money($item->amount, $item->currency_code, true) @stack('amount_td_inside_end') @stack('issued_at_td_inside_start') @date($item->issued_at) @stack('issued_at_td_inside_end') @stack('due_at_td_inside_start') @date($item->due_at) @stack('due_at_td_inside_end') @stack('status_td_inside_start') {{ trans($textDocumentStatus . $item->status) }} @stack('status_td_inside_end')
@if ($documents->total() > 5) @endif
@endif @push('scripts_start') @endpush @push('body_js') @endpush