|
@if(!empty(setting('enabled_projects')) && !empty(setting('projects_logo_docs')))
|
@if(!empty($customer_credit_note->company->comercial_name))
{{ mb_strtoupper($customer_credit_note->company->comercial_name) }}
@endif {{ mb_strtoupper($customer_credit_note->company->name) }} @if(!empty($customer_credit_note->company->address_1) || !empty($customer_credit_note->company->address_2) || !empty($customer_credit_note->company->address_3) || !empty($customer_credit_note->company->address_4)) {{ $customer_credit_note->company->address_1 ?? '' }} {{ $customer_credit_note->company->address_2 ?? '' }} {{ $customer_credit_note->company->address_3 ?? '' }} {{ $customer_credit_note->company->address_4 ?? '' }} @endif @if(!empty($customer_credit_note->company->city->name) || !empty($customer_credit_note->company->state->name)) {{ !empty($customer_credit_note->company->city->name) ? $customer_credit_note->company->city->name . ', ' : '' }}{{ $customer_credit_note->company->state->name ?? '' }} @endif {{ $customer_credit_note->company->country->name ?? '' }}{!! ($customer_credit_note->company->postcode ? ' ' . __('base/company.entry_postcode') . ': ' . $customer_credit_note->company->postcode : '') !!} {{ mb_strtoupper($customer_credit_note->company->taxid) }} --- {{ $customer_credit_note->company->phone ?? ' ' }} {{ $customer_credit_note->company->email ?? ' ' }} |
{{ mb_strtoupper($customer_credit_note->documentType->name) }}@lang('general.text_cfdi_uuid'): {{ $customer_credit_note->customerInvoiceCfdi->uuid ?? '' }} @lang('sales/customer_credit_note.entry_date'): {{ str_replace(' ',' ',\App\Helpers\Helper::convertSqlToDateTime($customer_credit_note->date)) }} @if(!empty($cfdi33)) @lang('general.text_cfdi_tfd_fecha_timbrado'): {{ \App\Helpers\Helper::convertSqlToDateTime(str_replace('T',' ',$cfdi33->complemento->timbreFiscalDigital['FechaTimbrado'])) }} @lang('general.text_cfdi_certificado'): {{ $cfdi33['NoCertificado'] }} @lang('general.text_cfdi_tfd_no_certificado_sat'): {{ $cfdi33->complemento->timbreFiscalDigital['NoCertificadoSAT'] }} @endif |
@if(!empty($cfdi33))
|
||||||||||||||
|
|||||||||||||||||
|
{{ mb_strtoupper(!empty($cfdi33->Receptor['Nombre']) ? $cfdi33->Receptor['Nombre'] : $customer_credit_note->customer->name) }}
@if(!empty($customer_credit_note->customer->address_1) || !empty($customer_credit_note->customer->address_2) || !empty($customer_credit_note->customer->address_3) || !empty($customer_credit_note->customer->address_4)) {{ $customer_credit_note->customer->address_1 ?? '' }} {{ $customer_credit_note->customer->address_2 ?? '' }} {{ $customer_credit_note->customer->address_3 ?? '' }} {{ $customer_credit_note->customer->address_4 ?? '' }} @endif @if(!empty($customer_credit_note->customer->city->name) || !empty($customer_credit_note->customer->state->name)) {{ !empty($customer_credit_note->customer->city->name) ? $customer_credit_note->customer->city->name . ', ' : '' }}{{ $customer_credit_note->customer->state->name ?? '' }} @endif {{ $customer_credit_note->customer->country->name ?? '' }}{!! ($customer_credit_note->customer->postcode ? ' ' . __('sales/customer.entry_postcode') . ': ' . $customer_credit_note->customer->postcode : '') !!} |
@lang('sales/customer.entry_taxid'): {{ mb_strtoupper($cfdi33->Receptor['Rfc'] ?? $customer_credit_note->customer->taxid) }}
@lang('sales/customer_credit_note.entry_tax_regimen_customer_id2'): {{ $data['tax_regimen_customer'] ?? ($customer_credit_note->taxRegimenCustomer->name_sat ?? $customer_credit_note->customer->taxRegimen->name_sat) }} @lang('sales/customer_credit_note.entry_cfdi_use_id'): {{ $customer_credit_note->cfdiUse->name_sat }} |
| {{ mb_strtoupper(__('sales/customer_credit_note.column_line_quantity')) }} | @if(!empty(setting('show_product_code_on_pdf'))) {{ mb_strtoupper(__('sales/customer_credit_note.column_line_product_id')) }} - {{ mb_strtoupper(__('sales/customer_credit_note.column_line_name')) . ' - ' . mb_strtoupper(__('sales/customer_credit_note.column_line_sat_product_id')) }} @else {{ mb_strtoupper(__('sales/customer_credit_note.column_line_sat_product_id')) . ' - ' . mb_strtoupper(__('sales/customer_credit_note.column_line_name')) }} @endif | {{ mb_strtoupper(__('sales/customer_credit_note.column_line_unit_measure_id')) }} | {{ mb_strtoupper(__('sales/customer_credit_note.column_line_price_unit')) }} | {{ mb_strtoupper(__('sales/customer_credit_note.column_line_amount_untaxed')) }} |
|---|---|---|---|---|
| {{ \App\Helpers\Helper::numberFormat($result->quantity,$result->unitMeasure->decimal_place) }} |
@if(!empty(setting('show_product_code_on_pdf')))
{{$result->product->code ?? 'N/A'}} -
{!! nl2br($result->name) !!} ({{ $result->satProduct->code }})
@else
{{ $result->satProduct->code }} - {!! nl2br($result->name) !!}
@endif
@php
echo ' '; echo __('sales/customer_credit_note.column_line_tax_object') . ': '.$result->tax_object.' '; @endphp |
{{ $result->unitMeasure->name_sat }} | {{ \App\Helpers\Helper::numberFormatMoney($result->price_unit,\App\Helpers\Helper::companyProductPriceDecimalPlace($customer_credit_note->company_id)) }} | {{ money($result->amount_untaxed,$customer_credit_note->currency->code,true) }} |
| {!! nl2br($customer_credit_note->comment) !!} | ||||
| ***({{\App\Helpers\Helper::numberToWordCurrency($customer_credit_note->amount_total,$customer_credit_note->currency->code,$customer_credit_note->currency->decimal_place)}})*** |
@lang('general.text_amount_untaxed') @if($customer_credit_note->customerInvoiceTaxes->isNotEmpty()) @foreach($customer_credit_note->customerInvoiceTaxes as $result) {{$result->name}} @endforeach @endif {{ mb_strtoupper(__('general.text_amount_total')) }} |
{{ money($customer_credit_note->amount_untaxed,$customer_credit_note->currency->code,true) }} @if($customer_credit_note->customerInvoiceTaxes->isNotEmpty()) @foreach($customer_credit_note->customerInvoiceTaxes as $result) {{money(abs($result->amount_tax),$customer_credit_note->currency->code,true)}} @endforeach @endif {{ money($customer_credit_note->amount_total,$customer_credit_note->currency->code,true) }} |
||
| @lang('general.text_cfdi_tfd_cadena_origen') |
| {{ $data['tfd_cadena_origen'] }} |
| @lang('general.text_cfdi_tfd_sello_cfdi') |
| {{ $cfdi33->complemento->timbreFiscalDigital['SelloCFD'] }} |
| @lang('general.text_cfdi_tfd_sello_sat') |
| {{ $cfdi33->complemento->timbreFiscalDigital['SelloSAT'] }} |
@lang('sales/customer_credit_note.tab_relations') - {{ $customer_credit_note->cfdiRelation->name_sat }}
|
@if($customer_credit_note->customerInvoiceRelations->isNotEmpty())
@foreach($customer_credit_note->customerInvoiceRelations as $result)
{{$result->relation->name ?? ''}} @endforeach @endif |
@if($customer_credit_note->customerInvoiceRelations->isNotEmpty())
@foreach($customer_credit_note->customerInvoiceRelations as $result)
{{$result->uuid_related}} @endforeach @endif |