RECIBO DE CAJA CHICA

@php $company = \App\Models\Empresa::first(); @endphp @if($company) {{ $company->nombre_empresa ?? 'SOSSYSTEM' }}
{{ $company->direccion ?? '' }}
Tel: {{ $company->telefono ?? '' }} | Email: {{ $company->email ?? '' }} @else SOSSYSTEM @endif
Número de Transacción: {{ $transaction->transaction_number }}
Fecha: {{ \Carbon\Carbon::parse($transaction->transaction_date)->format('d/m/Y') }}
Tipo: {{ strtoupper(str_replace('_', ' ', $transaction->transaction_type)) }}

INFORMACIÓN DE CAJA CHICA

@php $pettyCashAccount = $transaction->pettyCashAccount; @endphp @if($pettyCashAccount)
Nombre de la Caja: {{ $pettyCashAccount->name }}
Moneda: {{ $pettyCashAccount->currency }}
Saldo Actual: {{ number_format($pettyCashAccount->current_balance, 2) }} {{ $pettyCashAccount->currency }}
@endif
MONTO
{{ number_format($transaction->amount, 2) }} {{ $transaction->pettyCashAccount->currency ?? 'USD' }}
@if($transaction->category) @endif @if($transaction->subcategory) @endif @if($transaction->receipt_number) @endif @if($transaction->beneficiary) @endif @if($transaction->notes) @endif @if($transaction->createdBy) @endif @if($transaction->balance_after) @endif
Concepto Detalle
Descripción {{ $transaction->description ?? 'N/A' }}
Categoría {{ $transaction->category }}
Subcategoría {{ $transaction->subcategory }}
Número de Recibo {{ $transaction->receipt_number }}
Beneficiario {{ $transaction->beneficiary }}
Notas {{ $transaction->notes }}
Registrado por {{ $transaction->createdBy->name }}
Saldo Después {{ number_format($transaction->balance_after, 2) }} {{ $transaction->currency }}