|
@if($retention->admin && $retention->admin->logo)
@php
$path = public_path('storage/logos/'.$retention->admin->logo);
$base64 = '';
if (file_exists($path)) {
$type = pathinfo($path, PATHINFO_EXTENSION);
$data = file_get_contents($path);
$base64 = 'data:image/' . $type . ';base64,' . base64_encode($data);
}
@endphp
@if($base64)
|
{{ $retention->admin->name ?? '' }}
{{ $retention->admin->address ?? '' }}
Rif: {{ $retention->admin->document ?? '' }}
|
|
| NOMBRE O RAZON SOCIAL DEL SUJETO RETENIDO | {{ $retention->client->name ?? '' }} |
| RIF. SUJETO RETENIDO | {{ $retention->client->document ?? '' }} |
| DIRECCION FISCAL DEL SUJETO RETENIDO | {{ $retention->client->address ?? '' }} |
| Fecha de Factura | Factura Numero | Numero de Control | Concepto de abonado en cuenta | Cantidad Pagada | Cantidad Excenta | Cantidad Obj. de ret. | Porcentaje % | Sustraendo | Impuesto retenido |
|---|---|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($retention->bill_date ?? $retention->created_at)->format('d/m/Y') }} | {{ $retention->bill_number }} | {{ $retention->control_number ?? '-' }} | {{ $retention->concept == 1 ? 'PRODUCTOS' : 'SERVICIOS' }} | {{ number_format($invoiceTotal, 2, ',', '.') }} | {{ number_format($exemptAmount, 2, ',', '.') }} | {{ number_format($taxableBase, 2, ',', '.') }} | {{ number_format($retention->islr_rate, 2, ',', '') }}% | {{ number_format($sustraendo, 2, ',', '.') }} | {{ number_format($islrAmount, 2, ',', '.') }} |
| TOTAL IMPUESTO RETENIDO | {{ number_format($islrAmount, 2, ',', '.') }} | ||||||||
|
Firma y Sello del |
RECIBIDO POR: Firma y Sello R.I.F: |