{{ strtoupper($company->name) }}
{{ $establishment->address }}
@if (isset($establishment->district->description) && $establishment->district->description != ''){{ $establishment->district->description }}
@endif @if (isset($establishment->province->description) && isset($establishment->department->description)){{ $establishment->province->description }} - {{ $establishment->department->description }}
@endifRUC: {{ $company->number }} TLF: {{ $establishment->telephone }}
---------------------------------------------------------------
CONSTANCIA DE PAGO {{ str_pad($multipayment->id, 8, '0', STR_PAD_LEFT) }}
---------------------------------------------------------------
@php $user = $multipayment->user; $items = $multipayment->items; $first_item = $items->first(); $document_payment = null; $document = null; if ($first_item->document_payment) { $document_payment = $first_item->document_payment; $document = $document_payment->document; } else { $document_payment = $first_item->sale_note_payment; $document = $document_payment->sale_note; } $customer = $document->customer; $payment_method_type = $document_payment->payment_method_type->description; @endphpCliente: {{ strtoupper($customer->name) }}
Fecha de Emisión: {{ $multipayment->created_at->format('d/m/Y H:i:s') }}
Usuario: {{ $user->name }}
Método de Pago: {{ $payment_method_type }}
@if($document_payment->reference)Referencia: {{ $document_payment->reference }}
@endifCta x cobrar: {{$multipayment->remaining}}
Documentos pagados
Doc | X cobrar | Pagado |
---|---|---|
{{ $document->series }}-{{ $document->number }} | {{ $item->remaining }} | {{ $item->total }} |
TOTAL PAGADO:{{$multipayment->payment}} SALDO:{{$multipayment->remaining}} |