@php $establishment = $cash->user->establishment; $title = "Reporte POS - ".$cash->user->name." - ".$cash->date_opening." ".$cash->time_opening; \App\CoreFacturalo\Helpers\Template\ReportHelper::getTitleToExcel ($title); @endphp {{ $title }}

Reporte Punto de Venta

@if(!$cash->state) @endif

Empresa: {{$company->name}}

Fecha reporte: {{date('Y-m-d')}}

Ruc: {{$company->number}}

Establecimiento: {{$establishment->address}} - {{$establishment->department->description}} - {{$establishment->district->description}}

Vendedor: {{$cash->user->name}}

Fecha y hora apertura: {{$cash->date_opening}} {{$cash->time_opening}}

Estado de caja: {{($cash->state) ? 'Aperturada':'Cerrada'}}

Fecha y hora cierre: {{$cash->date_closed}} {{$cash->time_closed}}

Montos de operaciĆ³n:

@if($documents->count()) @php $total = 0; $subTotal = 0; @endphp
@foreach($documents as $item) @php $total+=$item['unit_value']; $subTotal+=$item['sub_total'] @endphp @endforeach
# Producto Cantidad Precio Sub Total Comprobante
{{ $loop->iteration }} {{ $item['description'] }} {{ $item['quantity'] }} {{ App\CoreFacturalo\Helpers\Template\ReportHelper::setNumber($item['unit_value']) }} {{ App\CoreFacturalo\Helpers\Template\ReportHelper::setNumber($item['sub_total']) }} {{ $item['number_full'] }}
Totales {{ App\CoreFacturalo\Helpers\Template\ReportHelper::setNumber($subTotal) }}
@else

No se encontraron registros.

@endif