| # | Fecha Venta | Fecha Ingreso | Rut | Cliente | Tipo Venta | Total | Ingreso Delivery | Ingreso Comprobante | Acción |
|---|---|---|---|---|---|---|---|---|---|
| {{$sale->venta}} | {{$sale->fecha}} | {{$sale->ingreso}} | {{$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"}} | @if(empty($sale->ingreso_envio)) @if(Auth::user()->id == 8 || Auth::user()->id == 1 || Auth::user()->id == 6) Delivery @endif @endif @if ($sale->ingreso_envio) Ticket @endif @if ($sale->ingreso_envio && empty($sale->fecha_comprobante)) @endif @if ($sale->fecha_comprobante) @endif |