@php $amount = collect($data ?? [])->sum('amount'); $titleCode = ''; if (!empty($quotations->identifier)) { $titleCode = $quotations->identifier; } elseif (!empty($quotations->prefix) || !empty($quotations->id)) { $titleCode = ($quotations->prefix ?? 'COT') . '-' . ($quotations->id ?? ''); } @endphp
@include('print.partials.ticket_header', [ 'company' => $company ?? null, 'establishment' => $establishment ?? null, 'document' => $quotations ?? null, 'title' => 'CRONOGRAMA DE PAGOS', 'code' => $titleCode, ])| FECHA : {{date('d-m-Y')}} | HORA : {{date('H:i:s')}} |
|
PACIENTE : {{$quotations->person->name}} |
|
|
ESPECIALIDAD : {{ strtoupper($quotations->specialty->name)}} |
Odontólogo/a : {{ strtoupper($quotations->medic->name)}} |
| # | FECHA PAGO | MONTO DE PAGO |
|---|---|---|
| {{$loop->iteration}} | {{ \Carbon\Carbon::parse($row->date_payment)->format('d-m-Y') }} | {{$row->amount}} |
| Total a Pagar: {{ number_format((float)$amount, 2) }} | ||