Consolidado de items por cliente/vendedor - Totales

@inject('reportService', 'Modules\Report\Services\ReportService') @if( isset($params['sellers']) ) @php $sellers = json_decode($params['sellers']); @endphp @if(count($sellers) > 0) @endif @elseif(isset($params['seller_id']) && !empty($params['seller_id'])) @endif @if( isset($params['person_id']) && !empty(isset($params['person_id']))) @endif

Empresa: {{$company->name}}

Ruc: {{$company->number}}

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

Usuario(s): @foreach ($sellers as $seller_id) - {{$reportService->getUserName($seller_id)}} @endforeach

Usuario: {{$reportService->getUserName($params['seller_id'])}}

Cliente: {{$reportService->getPersonName($params['person_id'])}}

@if(!empty($records))
@php @endphp @foreach($records as $key => $value) @endforeach
# Cod. Interno Producto Unidad Cantidad Total
{{ $loop->iteration }} {{$value['item_internal_id']}} {{$value['item_description']}} {{$value['item_unit_type_id']}} {{$value['quantity']}}
@else

No se encontraron registros.

@endif