@php use App\Models\Crm\Agreement; $statusColors = \App\Livewire\Crm\Agreements\Show::STATUS_COLORS; $control = 'mt-1 block w-full rounded-xl border-slate-300 text-sm shadow-sm focus:border-indigo-500 focus:ring-indigo-500'; $tz = config('app.display_timezone'); @endphp
{{ __('Officers draft and negotiate. A director records the signing once the terms are agreed.') }}
{{ trans_choice('{0} Ends today.|{1} Ends tomorrow.|[2,*] Ends in :count days, on :date.', $daysLeft, ['count' => number_format($daysLeft), 'date' => $agreement->ends_on->format('j M Y')]) }} @if ($agreement->auto_renews) {{ __('It renews itself unless notice is given.') }} @endif
{{ __('60-day reminder: :sixty. 30-day reminder: :thirty.', [ 'sixty' => $agreement->reminder_60_sent_at ? __('sent :date', ['date' => $agreement->reminder_60_sent_at->timezone($tz)->format('j M Y')]) : __('not yet'), 'thirty' => $agreement->reminder_30_sent_at ? __('sent :date', ['date' => $agreement->reminder_30_sent_at->timezone($tz)->format('j M Y')]) : __('not yet'), ]) }} @if ($agreement->renewal) {{ __('A renewal has been started.') }} @endif
{{ __('An agreement records terms. It is never revenue: business under it is counted on its quotes, invoices and jobs.') }}
{{ __('Each renewal is its own agreement; earlier terms are kept') }}
{{ $link->starts_on?->format('j M Y') ?? __('Not set') }} – {{ $link->ends_on?->format('j M Y') ?? __('open-ended') }}
{{ __('From here the terms are fixed. Renewal reminders go to the person looking after it at 60 and 30 days before it ends.') }}
{{ __('A renewal is a new draft agreement carrying the same parties. This one stays exactly as it is, and is marked Renewed when a director signs the new one.') }}