Reporte Estado de Cuenta


@inject('reportService', 'Modules\Report\Services\ReportService') @if($filters['seller_id']) @endif @if($filters['person_id']) @endif

Empresa:

{{$company->name}}

Fecha:

{{date('Y-m-d')}}

Ruc:

{{$company->number}}

Establecimiento:

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

Usuario:

{{$reportService->getUserName($filters['seller_id'])}}

Cliente:

{{$reportService->getPersonName($filters['person_id'])}}

@if(!empty($records))
@php $acum_total_charges=0; $acum_total_taxed=0; $acum_total_igv=0; $acum_total=0; $serie_affec = ''; $acum_total_exonerado=0; $acum_total_inafecto=0; $acum_total_free=0; $acum_total_taxed_usd = 0; $acum_total_igv_usd = 0; $acum_total_usd = 0; @endphp @foreach($records as $key => $value)
Notice: Undefined variable: loop in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 137

Notice: Trying to get property 'iteration' of non-object in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 137

Notice: Undefined variable: value in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 138

Notice: Trying to get property 'user' of non-object in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 138

Notice: Trying to get property 'name' of non-object in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 138

Notice: Undefined variable: value in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 139

Fatal error: Uncaught Error: Call to a member function getDocumentType() on null in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php:139 Stack trace: #0 {main} thrown in C:\laragon\www\facturadorpro4\modules\Report\Resources\views\state_account\report_excel.blade.php on line 139
# Usuario/Vendedor Tipo Doc Número Fecha emisión Fecha Vencimiento Doc. Afectado # Guía Cliente RUC Estado Moneda Forma de pago MÉTODO DE PAGO Total Cargos Total Exonerado Total Inafecto Total Gratuito Total Gravado Descuento total Total IGV Total ISC Total Total por pagar Total de productos Productos