@if (session()->has('message'))
{{ session('message') }}
@endif
{{ __('processing') }}
@foreach ($contracts as $contract) @endforeach
{{ __('id') }} {{ __('name') }} {{ __('contractt') }} {{ __('validfrom') }} {{ __('validto') }} {{ __('action') }}
{{ $contract->id }} {{ $contract->user->name }} {{ ucfirst($contract->type) }} {{ date('d-m-Y', strtotime($contract->valid_from)) }} @if ($contract->valid_to) {{ date('d-m-Y', strtotime($contract->valid_to)) }} @endif
{{ $contracts->onEachSide(2)->links('custom-pagination-links-view') }}