@php $tabMeta = [ 'in_force' => ['label' => __('In force'), 'icon' => 'document-duplicate'], 'renewing' => ['label' => __('Renewing soon'), 'icon' => 'calendar-days'], 'drafts' => ['label' => __('Being drafted'), 'icon' => 'pencil-square'], 'closed' => ['label' => __('Closed'), 'icon' => 'archive-box'], 'all' => ['label' => __('All'), 'icon' => 'queue-list'], ]; $statusColors = \App\Livewire\Crm\Agreements\Show::STATUS_COLORS; @endphp
{{ $m['label'] }}
{{ $m['value'] }}
{{ $m['sub'] }}{{ __('Soonest end date first') }}
| {{ __('Agreement') }} | {{ __('With') }} | {{ __('Looked after by') }} | {{ __('Term') }} | {{ __('Renewal') }} | {{ __('Status') }} |
|---|---|---|---|---|---|
|
{{ $agreement->title }}
{{ $agreement->type ? __(\App\Models\Crm\Agreement::TYPES[$agreement->type] ?? $agreement->type) : __('Kind not set') }} @if ($agreement->reference) · {{ $agreement->reference }} @endif |
{{ $agreement->partnership?->name ?? $agreement->customer?->name ?? __('Not available') }} @if ($agreement->partnership && $agreement->customer) {{ $agreement->customer->name }} @endif | {{ $agreement->owner?->name ?? __('Not available') }} | {{ $agreement->starts_on?->format('j M Y') ?? __('Not set') }} – {{ $agreement->ends_on?->format('j M Y') ?? __('open-ended') }} |
@if ($left === null)
{{ __('Not applicable') }}
@elseif ($left <= 30)
|
|
|
@if (trim($search) !== '')
|
|||||