|
@if(!empty(setting('enabled_projects')) && !empty(setting('projects_logo_docs')))
|
{{ mb_strtoupper($list_document_type2[$customer_transfer->document_type2]) }}{{ mb_strtoupper($customer_transfer->company->comercial_name) }} |
|
{{ mb_strtoupper($customer_transfer->company->name) }} | {{ mb_strtoupper($customer_transfer->company->taxid) }} | {{ $data['tax_regimen'] ?? ($customer_transfer->taxRegimen->name_sat ?? $customer_transfer->company->taxRegimen->name_sat) }} @if(!empty($customer_transfer->company->address_1) || !empty($customer_transfer->company->address_2) || !empty($customer_transfer->company->address_3) || !empty($customer_transfer->company->address_4)) {{ $customer_transfer->company->address_1 ?? '' }} {{ $customer_transfer->company->address_2 ?? '' }} {{ $customer_transfer->company->address_3 ?? '' }} {{ $customer_transfer->company->address_4 ?? '' }} @endif @if(!empty($customer_transfer->company->city->name) || !empty($customer_transfer->company->state->name)) {{ !empty($customer_transfer->company->city->name) ? $customer_transfer->company->city->name . ', ' : '' }}{{ !empty($customer_transfer->company->state->name) ? $customer_transfer->company->state->name . ', ' : '' }} @endif {{ $customer_transfer->company->country->name ?? '' }}{!! ($customer_transfer->company->postcode ? ' ' . __('base/company.entry_postcode') . ': ' . $customer_transfer->company->postcode : '') !!} | {{ $customer_transfer->company->phone ?? ' ' }} | {{ $customer_transfer->company->email ?? ' ' }} |
|
|
|
|
@lang('general.text_cfdi_uuid') {{ $customer_transfer->customerInvoiceCfdi->uuid ?? '' }} |
@lang('base/document_type.entry_cfdi_type_id') {{ $customer_transfer->documentType->cfdiType->name_sat ?? '' }} |
@lang('sales/customer_transfer.entry_payment_term_id') {{ $customer_transfer->paymentTerm->name ?? '' }} |
@lang('sales/customer_transfer.entry_cfdi_use_id') {{ $customer_transfer->cfdiUse->name_sat ?? '' }} |
@lang('general.text_issued_in') {{ $customer_transfer->branchOffice->name ?? '' }} {!! ($customer_transfer->branchOffice->postcode ? ' ' . __('base/branch_office.entry_postcode') . ': ' . $customer_transfer->branchOffice->postcode : '') !!} |
| {{ mb_strtoupper(__('sales/customer_transfer.entry_source_name')) }} | {{ mb_strtoupper(__('sales/customer_transfer.entry_destination_name')) }} |
|
{{ mb_strtoupper($customer_transfer->source_name) ?? '' }}
@lang('sales/customer_transfer.entry_source_address'): {!! nl2br($customer_transfer->source_address) ?? '' !!} @lang('sales/customer_transfer.entry_source_delivery_on'): {{ $customer_transfer->source_delivery_on ?? '' }} |
{{ mb_strtoupper($customer_transfer->destination_name) ?? '' }}
@lang('sales/customer_transfer.entry_destination_address'): {!! nl2br($customer_transfer->destination_address) ?? '' !!} @lang('sales/customer_transfer.entry_destination_delivery_on'): {{ $customer_transfer->destination_delivery_on ?? '' }} |
| {{ mb_strtoupper(__('sales/customer_transfer.column_line_transfer_name')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_transfer_weight')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_transfer_m3')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_transfer_liters')) }} |
|---|---|---|---|
| {!! nl2br($result->name) !!} | {{ $result->weight ?? '-' }} | {{ $result->m3>0 ? \App\Helpers\Helper::numberFormat($result->m3,0) : '-' }} | {{ $result->liters>0 ? \App\Helpers\Helper::numberFormat($result->liters,0) : '-' }} |
| @lang('sales/customer_transfer.entry_date_delivery'): {{ $customer_transfer->date_delivery ? \App\Helpers\Helper::convertSqlToDate($customer_transfer->date_delivery) : '' }} | @lang('sales/customer_transfer.entry_valid_amount'): {{ money($customer_transfer->valid_amount,$customer_transfer->currency->code,true) }} | @lang('sales/customer_transfer.entry_dangerous_material'): {{ $customer_transfer->dangerous_material ? __('general.text_yes') : __('general.text_no') }} |
| {{ mb_strtoupper(__('sales/customer_transfer.column_line_name')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_sat_product_id')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_unit_measure_id')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_quantity')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_price_unit')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_discount')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_amount_untaxed')) }} |
|---|---|---|---|---|---|---|
| {!! nl2br($result['Descripcion']) !!} | {{ $result['ClaveProdServ'] }} | [{{ $result['ClaveUnidad'] }}] {{ $result['Unidad'] }} | {{ \App\Helpers\Helper::numberFormatRealDecimalPlace($result['Cantidad']) }} | {{ \App\Helpers\Helper::numberFormatMoney($result['ValorUnitario'],\App\Helpers\Helper::companyProductPriceDecimalPlace($customer_transfer->company_id)) }} | {{ \App\Helpers\Helper::numberFormat(!empty($result['Descuento']) ? $result['Descuento']/$result['Importe'] : 0,2) }} | {{ money($result['Importe'],$customer_transfer->currency->code,true) }} |
| {!! 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_transfer->company_id)) }} | {{ \App\Helpers\Helper::numberFormat($result->discount,2) }} | {{ money($result->amount_untaxed,$customer_transfer->currency->code,true) }} |
| ***({{\App\Helpers\Helper::numberToWordCurrency($customer_transfer->amount_total,$customer_transfer->currency->code,$customer_transfer->currency->decimal_place)}})*** |
@lang('general.text_amount_untaxed') @if($customer_transfer->customerInvoiceTaxes->isNotEmpty()) @foreach($customer_transfer->customerInvoiceTaxes as $result) {{$result->name}} @endforeach @endif {{ mb_strtoupper(__('general.text_amount_total')) }} |
{{ money($customer_transfer->amount_untaxed,$customer_transfer->currency->code,true) }} @if($customer_transfer->customerInvoiceTaxes->isNotEmpty()) @foreach($customer_transfer->customerInvoiceTaxes as $result) {{money(abs($result->amount_tax),$customer_transfer->currency->code,true)}} @endforeach @endif {{ money($customer_transfer->amount_total,$customer_transfer->currency->code,true) }} |
||||
|
@if($customer_transfer->document_type2 == 'invoice')
@lang('sales/customer_transfer.entry_payment_way_id'): {{ $customer_transfer->paymentWay->name_sat ?? '' }}
@lang('sales/customer_transfer.entry_payment_method_id'): {{ $customer_transfer->paymentMethod->name_sat ?? '' }} @endif @lang('sales/customer_transfer.entry_currency_id'): {{ $customer_transfer->currency->code }}{!! ($customer_transfer->currency->code!='MXN' ? ' '.__('sales/customer_transfer.entry_currency_value').': '.round($customer_transfer->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_transfer.tab_relations') - {{ $customer_transfer->cfdiRelation->name_sat }}
|
@if($customer_transfer->customerInvoiceRelations->isNotEmpty())
@foreach($customer_transfer->customerInvoiceRelations as $result)
{{$result->relation->name ?? ''}} @endforeach @endif |
@if($customer_transfer->customerInvoiceRelations->isNotEmpty())
@foreach($customer_transfer->customerInvoiceRelations as $result)
{{$result->uuid_related}} @endforeach @endif |
@lang('sales/customer_transfer.entry_comment')
| {!! nl2br($customer_transfer->comment) !!} |
|
@lang('sales/customer_transfer.entry_compensation') {!! nl2br($customer_transfer->compensation) !!} |
| @lang('sales/customer_transfer.entry_driver'): {{ $customer_transfer->driver }} | @lang('sales/customer_transfer.entry_vehicle'): {{ $customer_transfer->vehicle }} | @lang('sales/customer_transfer.entry_vehicle_number'): {{ $customer_transfer->vehicle_number }} | @lang('sales/customer_transfer.entry_vehicle_counter'): {{ $customer_transfer->vehicle_counter }} |