@include('header')
@if (isset($cant_excursiones) && $cant_excursiones > 0)

Cantidad de Excursiones: {{$cant_excursiones ?? '0'}}

@endif
@if (isset($cant_excursiones) && $cant_excursiones > 0) @foreach ($excursiones as $excursion) @endforeach @php $total_tarifa = 0; $total_entregado = 0; $total_saldo = 0; @endphp @foreach($dataTabla as $data) @php $hace_excursion = 0; @endphp @foreach ($excursiones as $excursion) @endforeach @endforeach
Pasajero Info Extra {{$excursion->nombre}}
(${{number_format($excursion->costo, 2, ',', '.')}})
Tarifa Entregado Saldo
{{$data['apellido'] ?? ''}}, {{$data['nombre']}} {{$data['infoExtra']}} @php $checked = ""; @endphp @foreach ($data['reserva_excursiones'] as $exc) @if ($exc->id == $excursion->id) @php $checked = "checked"; $hace_excursion = 1; @endphp @endif @endforeach @if ($hace_excursion) ${{number_format($data['tarifa'], 2, ',', '.')}} @php $total_tarifa = $total_tarifa + $data['tarifa']; @endphp @else - @endif @if ($hace_excursion || $data['entregado'] > 0) ${{number_format($data['entregado'], 2, ',', '.')}} @php $total_entregado = $total_entregado + $data['entregado']; @endphp @else - @endif @if ($hace_excursion || $data['entregado'] > 0) ${{number_format($data['saldo'], 2, ',', '.')}} @php $total_saldo = $total_saldo + $data['saldo']; @endphp @else - @endif
0)) style="display:none;" @endif>
TOTAL TARIFA ${{number_format($total_tarifa, 2, ',', '.')}} TOTAL ENTREGADO ${{number_format($total_entregado, 2, ',', '.')}} TOTAL SALDO ${{number_format($total_saldo, 2, ',', '.')}}
@else

Por el momento no hay excursiones agregadas a este viaje!

@endif
@include('footer') @if (!empty($idRecibo)) @endif