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