{{ __('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 |