{{-- wrapper --}}
{{-- row --}}
{{-- NewButton --}}
{{-- title --}}

{{__('Contracts')}} {{ __('&') }} {{__('Agreements')}}

{{-- empty --}}
{{-- endRow --}} {{-- -------------------------------------- --}} {{-- -------------------------------------- --}} {{-- row --}}
{{-- loop - contracts --}} @foreach ($contracts ?? [] as $contract)
{{-- :: downloadLink --}}
{{-- topWrap --}}
{{-- image - type --}}
{{ $contract?->contractType?->{__('name')} }}
{{-- size --}}

{{ $contract?->documentFileSize ?? '—' }}

{{-- end topWrap --}} {{-- ------------------------------- --}} {{-- ------------------------------- --}} {{-- bottomRow --}}
{{-- 1: issue --}}
{{__('Issue Date')}}
{{date('d M Y', strtotime($contract?->issueDate))}}
{{-- expiry --}}
{{__('Expiry Date')}}
{{ date('d M Y', strtotime($contract?->expiryDate)) }}
{{-- endRow --}}
@endforeach {{-- end loop --}} {{-- -------------------------------------- --}} {{-- -------------------------------------- --}} {{-- pagination --}}
{{ $contracts->links() }}
{{-- endWrapper --}}