|
@if(!empty(setting('enabled_projects')) && !empty(setting('projects_logo_docs')))
|
{{ mb_strtoupper($customer_foreign_trade->documentType->name) }}{{ mb_strtoupper($customer_foreign_trade->company->comercial_name) }} |
|
{{ mb_strtoupper($customer_foreign_trade->company->name) }} | {{ mb_strtoupper($customer_foreign_trade->company->taxid) }}{{ !empty($customer_foreign_trade->company->curp) ? ' / ' . $customer_foreign_trade->company->curp : '' }} | {{ $data['tax_regimen'] ?? ($customer_foreign_trade->taxRegimen->name_sat ?? $customer_foreign_trade->company->taxRegimen->name_sat) }} @if(!empty($customer_foreign_trade->company->address_1) || !empty($customer_foreign_trade->company->address_2) || !empty($customer_foreign_trade->company->address_3) || !empty($customer_foreign_trade->company->address_4)) {{ $customer_foreign_trade->company->address_1 ?? '' }} {{ $customer_foreign_trade->company->address_2 ?? '' }} {{ $customer_foreign_trade->company->address_3 ?? '' }} {{ $customer_foreign_trade->company->address_4 ?? '' }} @endif @if(!empty($customer_foreign_trade->company->city->name) || !empty($customer_foreign_trade->company->state->name)) {{ !empty($customer_foreign_trade->company->city->name) ? $customer_foreign_trade->company->city->name . ', ' : '' }}{{ !empty($customer_foreign_trade->company->state->name) ? $customer_foreign_trade->company->state->name . ', ' : '' }} @endif {{ $customer_foreign_trade->company->country->name ?? '' }}{!! ($customer_foreign_trade->company->postcode ? ' ' . __('base/company.entry_postcode') . ': ' . $customer_foreign_trade->company->postcode : '') !!} | {{ $customer_foreign_trade->company->phone ?? ' ' }} | {{ $customer_foreign_trade->company->email ?? ' ' }} |
|
|
|
|
@lang('general.text_cfdi_uuid') {{ $customer_foreign_trade->customerInvoiceCfdi->uuid ?? '' }} |
@lang('base/document_type.entry_cfdi_type_id') {{ $customer_foreign_trade->documentType->cfdiType->name_sat ?? '' }} |
@lang('sales/customer_foreign_trade.entry_payment_term_id') {{ $customer_foreign_trade->paymentTerm->name }} |
@lang('sales/customer_foreign_trade.entry_cfdi_use_id') {{ $customer_foreign_trade->cfdiUse->name_sat }} |
@lang('general.text_issued_in') {{ $customer_foreign_trade->branchOffice->name ?? '' }} {!! ($customer_foreign_trade->branchOffice->postcode ? ' ' . __('base/branch_office.entry_postcode') . ': ' . $customer_foreign_trade->branchOffice->postcode : '') !!} |
| {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_name')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_sat_product_id')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_unit_measure_id')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_quantity')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_price_unit')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_discount')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_amount_untaxed')) }} |
|---|---|---|---|---|---|---|
|
@if(!empty(setting('show_product_code_on_pdf')))
{{$result['NoIdentificacion'] ?? 'N/A'}} -
@endif
{!! nl2br($result['Descripcion']) !!}
@php
echo ' '; echo __('sales/customer_foreign_trade.column_line_tax_object') . ': '.$result['ObjetoImp'].' '; @endphp |
{{ $result['ClaveProdServ'] }} | [{{ $result['ClaveUnidad'] }}] {{ $result['Unidad'] }} | {{ \App\Helpers\Helper::numberFormatRealDecimalPlace($result['Cantidad']) }} | {{ \App\Helpers\Helper::numberFormatMoney($result['ValorUnitario'],\App\Helpers\Helper::companyProductPriceDecimalPlace($customer_foreign_trade->company_id)) }} | {{ \App\Helpers\Helper::numberFormat(!empty($result['Descuento']) ? $result['Descuento']/$result['Importe'] : 0,2) }} | {{ money($result['Importe'],$customer_foreign_trade->currency->code,true) }} |
| @if(!empty(setting('show_product_code_on_pdf'))) {{$result->product->code ?? 'N/A'}} - @endif {!! nl2br($result->name) !!} | {{ $result->satProduct->code }} | {{ $result->unitMeasure->name_sat }} | {{ \App\Helpers\Helper::numberFormat($result->quantity,$result->unitMeasure->decimal_place) }} | {{ \App\Helpers\Helper::numberFormatMoney($result->price_unit,\App\Helpers\Helper::companyProductPriceDecimalPlace($customer_foreign_trade->company_id)) }} | {{ \App\Helpers\Helper::numberFormat($result->discount,2) }} | {{ money($result->amount_untaxed,$customer_foreign_trade->currency->code,true) }} |
| ***({{\App\Helpers\Helper::numberToWordCurrency($customer_foreign_trade->amount_total,$customer_foreign_trade->currency->code,$customer_foreign_trade->currency->decimal_place)}})*** |
@lang('general.text_amount_untaxed') @if($customer_foreign_trade->customerInvoiceTaxes->isNotEmpty()) @foreach($customer_foreign_trade->customerInvoiceTaxes as $result) {{$result->name}} @endforeach @endif {{ mb_strtoupper(__('general.text_amount_total')) }} |
{{ money($customer_foreign_trade->amount_untaxed,$customer_foreign_trade->currency->code,true) }} @if($customer_foreign_trade->customerInvoiceTaxes->isNotEmpty()) @foreach($customer_foreign_trade->customerInvoiceTaxes as $result) {{money(abs($result->amount_tax),$customer_foreign_trade->currency->code,true)}} @endforeach @endif {{ money($customer_foreign_trade->amount_total,$customer_foreign_trade->currency->code,true) }} |
||||
|
@lang('sales/customer_foreign_trade.entry_payment_way_id'): {{ $customer_foreign_trade->paymentWay->name_sat }}
@lang('sales/customer_foreign_trade.entry_payment_method_id'): {{ $customer_foreign_trade->paymentMethod->name_sat }} @lang('sales/customer_foreign_trade.entry_currency_id'): {{ $customer_foreign_trade->currency->code }}{!! ($customer_foreign_trade->currency->code!='MXN' ? ' '.__('sales/customer_foreign_trade.entry_currency_value').': '.round($customer_foreign_trade->currency_value,4) :'') !!} |
@if(!empty($cfdi33))
@lang('general.text_cfdi_certificado'): {{ $cfdi33['NoCertificado'] }}
@lang('general.text_cfdi_tfd_no_certificado_sat'): {{ $cfdi33->complemento->timbreFiscalDigital['NoCertificadoSAT'] }} @lang('general.text_cfdi_tfd_fecha_timbrado'): {{ \App\Helpers\Helper::convertSqlToDateTime(str_replace('T',' ',$cfdi33->complemento->timbreFiscalDigital['FechaTimbrado'])) }} @endif |
@lang('sales/customer_foreign_trade.tab_foreign_trades')
|
@lang('sales/customer_foreign_trade.entry_exchange_rate_usd'): {{ round($customer_foreign_trade->exchange_rate_usd,4) }}
@lang('sales/customer_foreign_trade.entry_amount_total_usd'): {{ \App\Helpers\Helper::numberFormat($customer_foreign_trade->amount_total_usd, 2) }} @lang('sales/customer_foreign_trade.entry_operation_type_id'): {{ $customer_foreign_trade->operationType->name_sat }} @lang('sales/customer_foreign_trade.entry_pediment_id'): {{ $customer_foreign_trade->pediment->name_sat }} @lang('sales/customer_foreign_trade.entry_incoterm_id'): {{ $customer_foreign_trade->incoterm->name_sat }} |
@lang('sales/customer_foreign_trade.entry_origin_certificate'): {{ $customer_foreign_trade->origin_certificate == 1 ? __('sales/customer_foreign_trade.text_origin_certificate_1') : __('sales/customer_foreign_trade.text_origin_certificate_0') }}
@lang('sales/customer_foreign_trade.entry_number_origin_certificate'): {{ $customer_foreign_trade->number_origin_certificate }} @lang('sales/customer_foreign_trade.entry_reliable_exporter_number'): {{ $customer_foreign_trade->reliable_exporter_number }} |
|
@lang('sales/customer_foreign_trade.entry_comment_foreign_trade'): {{ $customer_foreign_trade->comment_foreign_trade }}
|
|
@lang('sales/customer_foreign_trade.text_foreign_trade_details')
| {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_product_id')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_name')) }} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_tariff_fraction_id')) }} | {!! mb_strtoupper(__('sales/customer_foreign_trade.column_line_customs_quantity')) !!} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_uom_custom_id')) }} | {!! mb_strtoupper(__('sales/customer_foreign_trade.column_line_price_unit_usd')) !!} | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_amount_usd')) }} |
|---|---|---|---|---|---|---|
| {{ $result->product->code ?? '' }} | {!! nl2br($result->name) !!} | {{ !empty($result->customerInvoiceLineComplement->tariffFraction->code) ? $result->customerInvoiceLineComplement->tariffFraction->code : '' }} | {{ !empty($result->customerInvoiceLineComplement->customs_quantity) ? \App\Helpers\Helper::numberFormat($result->customerInvoiceLineComplement->customs_quantity,3) : '' }} | {{ !empty($result->customerInvoiceLineComplement->uomCustom->code) ? $result->customerInvoiceLineComplement->uomCustom->name_sat : '' }} | {{ \App\Helpers\Helper::numberFormatMoney($result->customerInvoiceLineComplement->price_unit_usd,2) }} | {{ \App\Helpers\Helper::numberFormatMoney($result->customerInvoiceLineComplement->amount_usd,2) }} |
@lang('sales/customer_foreign_trade.tab_relations') - {{ $customer_foreign_trade->cfdiRelation->name_sat }}
|
@if($customer_foreign_trade->customerInvoiceRelations->isNotEmpty())
@foreach($customer_foreign_trade->customerInvoiceRelations as $result)
{{$result->relation->name ?? ''}} @endforeach @endif |
@if($customer_foreign_trade->customerInvoiceRelations->isNotEmpty())
@foreach($customer_foreign_trade->customerInvoiceRelations as $result)
{{$result->uuid_related}} @endforeach @endif |
@lang('sales/customer_foreign_trade.entry_comment')
| {!! nl2br($customer_foreign_trade->comment) !!} |