{{-- CAJA --}}

FECHA DE EMISIÓN: {{ isset($data['payment_date']) ? Carbon\Carbon::parse($data['payment_date'])->format('d/m/y') : 'NO DISPONIBLE' }}

CAJA:

{{ isset($data['cash_box'])? $data['cash_box']: 'NO DISPONIBLE' }}

NO. APERTURA:

{{ isset($data['cash_box_opening']) ? $data['cash_box_opening'] : 'NO DISPONIBLE' }}

NO. RECIBO:

{{ isset($data['invoice']) ? $data['invoice'] : 'NO DISPONIBLE' }}
{{-- DATOS DEL PAGO --}}

NOMBRE O RAZÓN SOCIAL

MÉTODO DE PAGO

{{ isset($data['contributor']) ? $data['contributor'] : 'PÚBLICO EN GENERAL' }} {{ isset($data['payment_type']) ? $data['payment_type'] : 'NO DISPONIBLE' }}
{{-- DETALLES DEL PAGO --}}
{{-- width="25%" --}} @foreach ($data['details'] as $detail) @endforeach @foreach ($data['discounts'] as $discount) @endforeach @foreach ($data['subsidies'] as $subsidy) @endforeach @if(count($data['discounts']) > 0) @endif @if(count($data['taxes']) > 0) @foreach ($data['taxes'] as $tax) @endforeach @endif @if($data['bank_reference']) @endif

CANTIDAD

DESCRIPCIÓN

PRECIO UNITARIO

TOTAL

{{ number_format($detail['quantity'], 0) }} {{ $detail['description'] }} $ {{ number_format($detail['unit_price'], 2) }} $ {{ number_format($detail['subtotal'], 2) }}
1 {{ $discount['authorization_invoice'] }} $ {{ number_format($discount['amount'], 2) }} $ {{ number_format($discount['amount'], 2) }}
1 SUBSIDIO ({{ $subsidy['code'] }}) $ {{ number_format($subsidy['amount'], 2) }} $ {{ number_format($subsidy['amount'], 2) }}

IMPORTE EN LETRA

SUBTOTAL

$ {{ number_format($data['subtotal'], 2) }}

{{ $data['total_text']}} {{$data['total_cents']}}/100 M./N.

DESCUENTO

$ {{ number_format($data['total_discount'], 2) }}

{{$tax['description']}} ({{number_format($tax['amount'],2)}}%)

$ {{ number_format($tax['sum_amount'], 2) }}

TOTAL

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

REFERENCIA BANCARIA:

{{$data['bank_reference']}}

CAJERO:

{{$data['cashier_name']}}