| # | Fecha Venta | Rut | Cliente | Tipo Venta | Total | Fecha Envio Interno | Fecha Comprobante | Fecha Confirmacion | Acción |
|---|---|---|---|---|---|---|---|---|---|
| {{$sale->venta}} | {{$sale->fecha}} | {{$sale->rut}} | {{$sale->nombre}} | {{$sale->tipo}} | {{Currency::currency("CLP")->format(round($sale->total))}} | {{$sale->ingreso_envio != "" ? $sale->ingreso_envio : "Sin Registro"}} | {{$sale->fecha_comprobante != "" ? $sale->fecha_comprobante : "Sin Registro"}} | {{$sale->confirmacion == "RECEPCIONADO" ? $sale->fecha_confirmacion : "SIN FECHA"}} | @if(empty($sale->ingreso_envio)) @if(Auth::user()->id == 8 || Auth::user()->id == 1 || Auth::user()->id == 6) Envio Interno @endif @endif @if ($sale->ingreso_envio) @endif @if (empty($sale->fecha_comprobante)) @endif @if ($sale->fecha_comprobante) @endif @if ($sale->confirmacion == 'ENVIADO') @endif |