@extends('back.layout.app') @section('title', config('app.name') . ' - Suivi des plans Média') @php $breadcrumb = 'plan-media.manage'; @endphp @section('content')
| Date | Client | Statut | Référence | Offres | Vues | Sélection client | |
|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($proposal->getRawOriginal('created_at'))->format('d/m/Y') }} | {{-- Client --}}{{ $proposal->customer?->name ?? '—' }} | {{-- Statut --}}{{ $statusLabel }} @if($proposal->status === 'send_to_customer' && $proposal->sent_at) — le {{ \Carbon\Carbon::parse($proposal->sent_at)->format('d/m/Y') }} @endif | {{-- Référence + copier URL --}}
@if($proposal->operations_count > 0 && $proposal->operations_with_period_count === $proposal->operations_count)
{{ Str::limit($proposal->reference, 12) }}
@else
URL non disponible
@if($proposal->operations_count === 0)
Aucune opération
@else
{{ $proposal->operations_with_period_count }}/{{ $proposal->operations_count }} périodes définies
@endif
@endif
|
{{-- Offres --}}
{{ $proposal->operations_count }} | {{-- Vues --}}{{ $proposal->viewer }} | {{-- Sélection client --}}@php $selected = $proposal->countSelectedPeriods(); @endphp {{ $selected }} | {{-- Actions --}}
| Date | Client | Offres | Vues | Sélection client | |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($proposal->getRawOriginal('created_at'))->format('d/m/Y') }} | {{ $proposal->customer?->name ?? '—' }} | {{ $proposal->operations_count }} | {{ $proposal->viewer }} | @php $selected = $proposal->countSelectedPeriods(); @endphp {{ $selected }} |