@php $enabled_sales_agents = \Modules\Company\Models\Configuration::getRecordIndividualColumn('enabled_sales_agents'); @endphp
Empresa: |
{{$company->name}} |
||||
Ruc: |
{{$company->number}} | ||||
Fecha: |
{{date('Y-m-d')}} |
||||
Usuario: |
{{$reportService->getUserName($filters['seller_id'])}} | @endif
# | Fecha Emisión | Hora Emisión | Usuario/Vendedor | Cliente | Nota de Venta | Estado pago | Estado | Moneda | Plataforma | Orden de compra | Region | Comprobantes | Fecha comprobante | Cotización | Caso | Productos | Descuento | T.Exportación | T.Inafecta | T.Exonerado | T.Gravado | T.Igv | Total | @if ($enabled_sales_agents)Agente | Datos de referencia | @endif|||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$loop->iteration}} | {{$value->date_of_issue->format('Y-m-d')}} | {{$value->time_of_issue}} | {{$value->user->name}} | {{$value->customer->name}} | {{$value->number_full}} | {{$value->total_canceled ? 'Pagado':'Pendiente'}} | {{$value->state_type->description}} | {{$value->currency_type_id}} | @foreach ($value->getPlatformThroughItems() as $platform) @endforeach | {{$value->purchase_order}} | {{$value->customer->department->description}} | @php $documents = $value->documents; @endphp
@foreach ($documents as $doc)
{{$doc->number_full}} @endforeach |
@foreach ($documents as $doc)
{{ $doc->date_of_issue->format('Y-m-d') }} @endforeach |
{{ ($value->quotation) ? $value->quotation->number_full : '' }} | {{ isset($value->quotation->sale_opportunity) ? $value->quotation->sale_opportunity->number_full : '' }} | @foreach ($value->getItemsforReport() as $key => $item) @if($loop->first) {{ $item['description'] }} / Cantidad: {{ $item['quantity'] }} @endif @endforeach | @if($value->state_type_id == '11')0 | 0 | 0 | 0 | 0 | 0 | 0 | @else{{ ($value->total_discount) }} | {{ ($value->total_exportation) }} | {{ $value->total_unaffected }} | {{ $value->total_exonerated }} | {{ $value->total_taxed}} | {{ $value->total_igv}} | {{ $value->total}} | @endif @if ($enabled_sales_agents){{optional($value->agent)->search_description}} | {{$value->reference_data}} | @endif
{{ $item['description'] }} / Cantidad: {{ $item['quantity'] }} | ||||||||||||||||||||||||||||||||
Totales PEN | {{$acum_total_taxed}} | {{$acum_total_igv}} | {{$acum_total}} | |||||||||||||||||||||||||||||
Totales USD | {{$acum_total_taxed_usd}} | {{$acum_total_igv_usd}} | {{$acum_total_usd}} |
No se encontraron registros.