@push('styles') @endpush
Statut de la Commande
    @foreach ($steps as $index => $step)
  • {{ $step['title'] }}
    @if ($step['date']) {{ $step['date']->diffForHumans() }} @endif

    {{ $step['description'] }}

    @if ($step['date'])

    {{ $step['date']->format('D, d M Y - H:i') }}

    @endif {{-- Special content for processing step --}} @if ($step['key'] === 'processing' && isset($step['delivery_person']) && $step['delivery_person'])
    Livreur: {{ $step['delivery_person']->user->name }}
    @endif {{-- Special content for cancelled step --}} @if ($step['key'] === 'cancelled' && isset($step['is_cancelled']) && isset($step['order']))
    @endif
  • @endforeach
{{-- Customer Feedback Section --}} @if ($canShowFeedback)
{{ $feedbackTitle }}
@if ($order->rating)
Note
{{ $order->rating }}/5
@for ($i = 1; $i <= 5; $i++) @endfor
@endif @if ($order->comments)
Commentaire client

{{ $order->comments }}

@endif @if ($order->center_comments)
{{ $centerCommentsLabel }}

{{ $order->center_comments }}

@endif
@endif