Ventas Tienda con Delivery

@if (session()->has('success'))
{{ session('success') }}
@endif
Buscador ventas históricas por fecha
Ventas por fecha
@if(count($ventas)) @foreach($ventas as $sale) @endforeach
# 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 | Auth::user()->id == 10) Delivery @endif @endif @if ($sale->ingreso_envio) Ticket @endif @if ($sale->ingreso_envio && empty($sale->fecha_comprobante)) @endif @if ($sale->fecha_comprobante) @endif
@else
@endif
@push('scripts') @endpush