| # | Fecha Venta | Rut | Cliente | Total | Fecha Envio | Fecha Confirmacion | Acción |
|---|---|---|---|---|---|---|---|
| {{ $sale->order_id }} | {{ $sale->paid_date }} | {{ $sale->rut }} | {{ $sale->nombre . ' ' . $sale->ap_pat . ' ' . $sale->ap_mat }} | {{ Currency::currency("CLP")->format(round($sale->order_total)) }} | {{ $sale->fecha_envio ?: 'Sin Notificacion' }} | {{ $sale->confirmacion == 'RECEPCIONADO' ? $sale->fecha_confirmacion : 'SIN FECHA' }} | @if($sale->fecha_comprobante) @endif @php $mostrarBotonEnvio = $sale->envio_tipo != 'fs_1' && $sale->envio_tipo != 'fs_6' && !$sale->fecha_comprobante; @endphp @if($mostrarBotonEnvio) @endif @if ($sale->confirmacion == 'ENVIADO') @endif @if($sale->envio_tipo != 'fs_1') @endif |