@extends('layouts.blank', ['title' => 'Portal bloqueado']) @section('content') @php $kind = $order->trackingLockKind(); $title = match ($kind) { 'delivered' => 'Pedido ya entregado', 'cancelled' => 'Pedido cancelado', 'failed' => 'Entrega fallida', default => 'Portal bloqueado', }; $icon = match ($kind) { 'delivered' => 'bi-check-circle-fill text-success', 'cancelled' => 'bi-x-circle-fill text-danger', 'failed' => 'bi-exclamation-triangle-fill text-warning', default => 'bi-lock-fill text-secondary', }; @endphp
{{ $order->number }}
@include('tracking.partials.client-heading') @if($order->dispatcher_name)Despachador: {{ $order->dispatcher_name }}
@endif @if($order->tracking_locked_at)Bloqueado el {{ $order->tracking_locked_at->format('d/m/Y H:i') }}
@endif @if($order->tracking_outcome_notes && in_array($kind, ['cancelled', 'failed'], true))Pago: {{ $order->paymentMethodLabel() }} · ${{ number_format((float) $order->total, 2) }}