Consolidado de items por cliente/vendedor
Empresa: {{$company->name}} |
Ruc: {{$company->number}} |
Establecimiento: {{$establishment->address}} - {{$establishment->department->description}} - {{$establishment->district->description}} |
@if($params['person_id'])
Cliente: {{ (!empty($records)) ? $records->first()->order_note->customer->name:'' }} - {{ (!empty($records)) ? $records->first()->order_note->customer->number:'' }} @elseVendedor: {{ (!empty($records)) ? $records->first()->order_note->user->name:'' }} @endif |
# | Vendedor | Cliente | Producto | Cantidad | Monto |
---|---|---|---|---|---|
{{$loop->iteration}} | {{$value->order_note->user->name}} | {{$value->order_note->customer->name}} | {{$value->item->description}} | {{$value->quantity}} | S/ {{ $total_item }} |
Total | {{$acum_total}} | S/ {{$acum_total_amount}} |
No se encontraron registros.