{{-- If you look to others for fulfillment, you will never truly be fulfilled. --}} @if(session('error'))
{{ session('error') }}
@endif @if(session('success'))
{{ session('success') }}
@endif
@error('idMoneda') {{$message}} @enderror
@error('tipoCambio') {{$message}} @enderror
@error('fechaEmision') {{$message}} @enderror

{{-- --}}
{{-- --}}

F. inicio:

F. Final:

@php $totalNeto = 0; $totalInafecto = 0; $totalIgv = 0; $totalOtrosImpuestos = 0; $totalTotal = 0; @endphp @if($this->boletos) @foreach ($this->boletos as $boleto) @php $totalNeto += $boleto->tarifaNeta; $totalInafecto += $boleto->inafecto; $totalIgv += $boleto->igv; $totalOtrosImpuestos += $boleto->otrosImpuestos; $totalTotal += $boleto->total; @endphp @endforeach @endif
ID @if ($sort == 'id') @endif Boleto @if ($sort == 'numeroBoleto') @endif File @if ($sort == 'numeroFile') @endif Cliente @if ($sort == 'idCliente') @endif F. Emisión @if ($sort == 'fechaEmision') @endif Tipo Doc. Pasajero @if ($sort == 'pasajero') @endif C. Costo @if ($sort == 'fechaEmision') @endif COD1 @if ($sort == 'fechaEmision') @endif COD2 @if ($sort == 'fechaEmision') @endif COD3 @if ($sort == 'fechaEmision') @endif COD4 @if ($sort == 'fechaEmision') @endif Neto Inafecto IGV Otros Imp. Total Estado @if ($sort == 'estado') @endif
{{$boleto->id}} {{$boleto->numeroBoleto}} {{$boleto->numeroFile}} {{$boleto->tcliente->razonSocial}} {{$boleto->fechaEmision}} {{$boleto->tTipoDocumento->descripcion}} {{$boleto->pasajero}} {{$boleto->centroCosto}} {{$boleto->cod1}} {{$boleto->cod2}} {{$boleto->cod3}} {{$boleto->cod4}} {{$boleto->tarifaNeta}} {{$boleto->inafecto}} {{$boleto->igv}} {{$boleto->otrosImpuestos}} {{$boleto->total}} {{$boleto->tEstado->descripcion}}
Totales:    {{ number_format($totalNeto,2)}} {{number_format($totalInafecto,2)}} {{number_format($totalIgv,2)}} {{number_format($totalOtrosImpuestos,2)}} {{number_format($totalTotal,2)}}
{{-- @if($this->boletos) {{$this->boletos->links()}} @endif --}}