@foreach ($report['dates'] as $date)

{{ $date['date_text'] }}

@foreach ($date['cash_boxes'] as $cash_box)
@foreach ($cash_box['cashiers'] as $cashier) @foreach ($cashier['payments'] as $payment) @switch($payment['operative_status']) @case('CANCELLED') @break @case('BILLED') @break @case('PAID') @break @case('PROCESSED') @break @default @endswitch @endforeach {{-- Payment --}} @endforeach{{-- Cashier --}}

Caja:{{ $cash_box['code'] . '-' . $cash_box['description'] }}

Cajero:{{ $cashier['code'] . '-' . $cashier['employee_name'] }}

Recibo

Tramite

Estatus

Motivos

Importe

{{ $payment['invoice'] }}

{{ $payment['reference_procedure'] }}

CANCELADO

FACTURADO

PAGADO

PAGADO

PROCESADO

{{ $payment['cancellation_motive'] }}

${{ number_format($payment['total'], 2) }}

NO. Recibos

{{ $cash_box['payment_quantity'] }}

Total Caja

${{ number_format($cash_box['total'], 2) }}

@endforeach{{-- CashBox --}}

Total Recibos Fecha

{{ $date['date_text'] }}

Total Cajas

{{ $date['payment_quantity'] }}

${{ number_format($date['total'], 2) }}

@endforeach


Total General Recibos

Total General Cajas

{{ $report['payment_quantity'] }}

${{ number_format($report['amount_total'], 2) }}