|
@if(!empty(setting('enabled_projects')) && !empty(setting('projects_logo_docs')))
|
@if(!empty($customer_foreign_trade->company->comercial_name))
{{ mb_strtoupper($customer_foreign_trade->company->comercial_name) }}
@endif {{ mb_strtoupper($customer_foreign_trade->company->name) }} @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 . ', ' : '' }}{{ $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 : '') !!} {{ mb_strtoupper($customer_foreign_trade->company->taxid) }}{{ !empty($customer_foreign_trade->company->curp) ? ' / ' . $customer_foreign_trade->company->curp : '' }} --- {{ $customer_foreign_trade->company->phone ?? ' ' }} {{ $customer_foreign_trade->company->email ?? ' ' }} |
{{ mb_strtoupper($customer_foreign_trade->documentType->name) }}@lang('general.text_cfdi_uuid'): {{ $customer_foreign_trade->customerInvoiceCfdi->uuid ?? '' }} @lang('sales/customer_foreign_trade.entry_date'): {{ str_replace(' ',' ',\App\Helpers\Helper::convertSqlToDateTime($customer_foreign_trade->date)) }} @lang('sales/customer_foreign_trade.entry_date_due'): {{ \App\Helpers\Helper::convertSqlToDate($customer_foreign_trade->date_due) }} @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($customer_foreign_trade->customer->name) }}
@if(!empty($customer_foreign_trade->customer->address_1) || !empty($customer_foreign_trade->customer->address_2) || !empty($customer_foreign_trade->customer->address_3) || !empty($customer_foreign_trade->customer->address_4)) {{ $customer_foreign_trade->customer->address_1 ?? '' }} {{ $customer_foreign_trade->customer->address_2 ?? '' }} {{ $customer_foreign_trade->customer->address_3 ?? '' }} {{ $customer_foreign_trade->customer->address_4 ?? '' }} @endif @if(!empty($customer_foreign_trade->customer->city->name) || !empty($customer_foreign_trade->customer->state->name)) {{ !empty($customer_foreign_trade->customer->city->name) ? $customer_foreign_trade->customer->city->name . ', ' : '' }}{{ $customer_foreign_trade->customer->state->name ?? '' }} @endif {{ $customer_foreign_trade->customer->country->code ? '[' . $customer_foreign_trade->customer->country->code . '] ' : '' }}{{ $customer_foreign_trade->customer->country->name ?? '' }}{!! ($customer_foreign_trade->customer->postcode ? ' ' . __('sales/customer.entry_postcode') . ': ' . $customer_foreign_trade->customer->postcode : '') !!} |
@lang('sales/customer.entry_taxid'): {{ mb_strtoupper($customer_foreign_trade->customer->taxid) }}
@lang('sales/customer_foreign_trade.entry_cfdi_use_id'): {{ $customer_foreign_trade->cfdiUse->name_sat }} |
| {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_quantity')) }} | @if(!empty(setting('show_product_code_on_pdf'))) {{ 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_sat_product_id')) }} @else {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_sat_product_id')) . ' - ' . mb_strtoupper(__('sales/customer_foreign_trade.column_line_name')) }} @endif | {{ mb_strtoupper(__('sales/customer_foreign_trade.column_line_unit_measure_id')) }} | {{ 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')) }} |
|---|---|---|---|---|---|
| {{ \App\Helpers\Helper::numberFormatRealDecimalPlace($result['Cantidad']) }} | @if(!empty(setting('show_product_code_on_pdf'))) {{$result['NoIdentificacion'] ?? 'N/A'}} - {!! nl2br($result['Descripcion']) !!} ({{ $result['ClaveProdServ'] }}) @else {{ $result['ClaveProdServ'] }} - {!! nl2br($result['Descripcion']) !!} @endif | [{{ $result['ClaveUnidad'] }}] {{ $result['Unidad'] }} | {{ \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) }} |
| {{ \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 | {{ $result->unitMeasure->name_sat }} | {{ \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) }} |
| {!! nl2br($customer_foreign_trade->comment) !!} | |||||
| ***({{\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.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('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_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 |