{{-- New-Unity ERP | app/Modules/Billing/Resources/Views/Mexico/invoices/invoice1_pdf_default.blade.php | v1.1 | 12/08/2026 --}} {{-- v1.1 — Tabla: CONCEPTO 45%, PRECIO UNIT 10%, TOTAL 5%; descripción dentro de celda CONCEPTO; fila espaciadora 300px; sin fila separada de descripción. --}} {{-- v1.0 — Copia protegida de invoice1_pdf.blade.php v1.5. NUNCA modificar este archivo desde la UI. --}} {{-- v1.5 — AUD: .section color dinámico (color??reports_color??#b6b6b6); postal_code con fallback a zipcode; slot 3 corregido a sponsor_logo_2. --}} {{-- v1.4 — FIX: padding-left descripción 30%→40% (alinear con columna CONCEPT); elimina height:300px fijo. --}} {{-- v1.3 — FIX1: receptor alineado con tabla interna; FIX2: descripción colspan=8 sin bordes vacíos; FIX3: height:300px en celda descripción. --}} {{-- v1.2 — Descripción en renglón separado (7px gris); elimina renglones vacíos fijos; margin-bottom en tabla detail. --}} {{-- v1.1 — Restaurado tras eliminación accidental; postal_code → zipcode en datos del emisor. --}} @php $sectionColor = $data->color ?? $data->reports_color ?? '#b6b6b6'; @endphp
| {{ $data->company_name ?? '' }} |
|
@if(!empty($data->company_logo))
|
@if(!empty($data->sponsor_logo_1 ?? ''))
|
@if(!empty($data->sponsor_logo_2 ?? ''))
|
@if(isset($data->tdf)) {{ __('invoices.cfdi_tipo_'.$data->tdf['TipoDeComprobante']) }} @else {{ __('invoices.INVOICE') }} @endif |
| {{$data->folio ?? ''}} |
|
{{ $data->contributor->name ?? '' }} RFC {{ $data->contributor->rfc ?? '' }} {{ $data->contributor->street ?? '' }} @if(!empty($data->contributor->street2 ?? '')) {{ $data->contributor->street2 }} @endif {{ ($data->contributor->city ?? '') . " " . ($data->contributor->state ?? '') . " " . ($data->contributor->country ?? '') }} @if(!empty($data->contributor->postal_code ?? $data->contributor->zipcode ?? '')) {{ " CP" . " " . ($data->contributor->postal_code ?? $data->contributor->zipcode ?? '') }} @endif @if(!empty($data->contributor->phone ?? '')) {{ " ".$data->contributor->phone }} @endif |
{{ __('invoices.certification_date').":" }}
{{$data->tdf['FechaTimbrado'] ?? ''}} {{ __('invoices.certificate').":" }} {{$data->tdf['NoCertificado'] ?? ''}} {{ __('invoices.fiscal_folio').":" }} {{$data->tdf['UUID'] ?? ''}} {{ __('invoices.certificate_sat').":" }} {{$data->tdf['NoCertificado'] ?? ''}} |
{{ __('invoices.payment_data').":" }}
|
||||||||||||||||||||||
| {{ __('invoices.pay_conditions').":" }} | {{ $data->condition_pay ?? '' }} | {{ __('invoices.payment_expiration').":" }} | {{ ($data->expiration_date ?? '') != '31-12-1969' ? ($data->expiration_date ?? '') : '' }} |
| {{ __('invoices.purchase_order').":" }} | {{ $data->purchase_order ?? '' }} | {{ __('invoices.quote_number').":" }} | {{ $data->quote_id ?? '' }} |
| {{ __('invoices.petition').":" }} | {{ $data->petition }} | ||
| {{ __('invoices.tipo_rela').":" }} | {{ array_key_first($data->tdf['CfdiRelacionados']) }} | {{ __('invoices.tipo_rela_uuid').":" }} |
@foreach($data->tdf['CfdiRelacionados'] as $rela => $UUIDs)
@foreach($UUIDs as $UUID)
{{$UUID}} @endforeach @endforeach |
| {{ __('invoices.product_description')}} | |||||||
|---|---|---|---|---|---|---|---|
| {{ __('invoices.QUANTITY') }} | {{ __('invoices.UNITY') }} | {{ __('invoices.UNITY_CODE') }} | {{ __('invoices.PART_NUMBER') }} | {{ __('invoices.SAT_CODE') }} | {{ __('invoices.CONCEPT') }} | {{ __('invoices.UNIT_PRICE') }} | {{ __('invoices.TOTAL') }} |
| {{ $detail->quantity }} | {{ $detail->unity_name ?? $detail->unity }} | {{ $detail->unity }} | {{ $detail->product_number ?? $detail->product_id ?? '' }} | {{ $detail->tax_code ?? '' }} |
{{ $detail->product_name }}
@if(!empty($detail->description ?? ''))
{{ $detail->description }} @endif |
{{ "$".number_format($detail->sales_price,2,".",",") }} | {{ "$".number_format($detail->amount,2,".",",") }} |
| {{ __('invoices.TOTAL_LETTER').":" }} | {{ ($data->total_letter ?? '').' '.($data->total_letter_decimal ?? '') }} | {{ __('invoices.SUBTOTAL').":" }} {{ ($data->subtotal ?? '')." ".($data->currency ?? '') }} | |||||
| @if(!empty($data->discount ?? '') && str_replace('$','',$data->discount ?? '0') != 0) {{ strtoupper(__('invoices.discount')).":" }} {{ ($data->discount ?? '')." ".($data->currency ?? '') }} @else {{ __('invoices.TAX').' '.($data->tax_perc ?? '').":" }} {{ ($data->tax ?? '')." ".($data->currency ?? '') }} @endif | |||||||
| {{ __('invoices.OBSERVATIONS').":" }} | {{ $data->observations ?? '' }} | @if(!empty($data->discount ?? '') && str_replace('$','',$data->discount ?? '0') != 0) {{ __('invoices.TAX').' '.($data->tax_perc ?? '').":" }} {{ ($data->tax ?? '')." ".($data->currency ?? '') }} @else {{ __('invoices.TOTAL').":" }} {{ ($data->total ?? '')." ".($data->currency ?? '') }} @endif | |||||
| {{ __('invoices.TOTAL').":" }} {{ ($data->total ?? '')." ".($data->currency ?? '') }} | |||||||