{{ __('Client Details') }} - {{$client->name}}

@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif @php $now = \Carbon\Carbon::now(); $contractEnded = $client->contract_end_date && \Carbon\Carbon::parse($client->contract_end_date)->lt($now); $probationEnded = $client->is_on_probation && $client->probation_end_date && \Carbon\Carbon::parse($client->probation_end_date)->lt($now); @endphp @if($contractEnded)
{{ __('Contract Expired') }} - {{ __('The contract expired on') }} {{ \Carbon\Carbon::parse($client->contract_end_date)->format('Y-m-d') }}
@endif @if($probationEnded)
{{ __('Probation Period Ended') }} - {{ __('The probation period ended on') }} {{ \Carbon\Carbon::parse($client->probation_end_date)->format('Y-m-d') }}
@endif @if(!$client->job_number and ($role = $this->client->roles()->first() and $role->id < 8))
{{ __('This client does not have a job number yet.') }}
@endif

{{ __('Are you sure?') }}

{{ __('This action cannot be undone.') }}

{{ __('Extend Contract') }}

@error('extensionDays') {{ $message }} @enderror
@if($photo)
{{ __('Uploading...') }}
@endif @error('photo') {{ $message }} @enderror