|
@if(!empty(setting('enabled_projects')) && !empty(setting('projects_logo_docs')))
|
{{ str_replace('- ','',mb_strtoupper($list_document_type2[$customer_transfer->document_type2])) }}{{ $customer_transfer->name }}{{ mb_strtoupper($customer_transfer->company->comercial_name) }} |
|
|
|
|
|
| {{ 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_quantity')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_unit_measure_id')) }} | {{ mb_strtoupper(__('sales/customer_transfer.column_line_sat_product_id')) . ' - ' . mb_strtoupper(__('sales/customer_transfer.column_line_name')) }} | {{ 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')) }} |
|---|---|---|---|---|---|
| {{ \App\Helpers\Helper::numberFormatRealDecimalPlace($result['Cantidad']) }} | [{{ $result['ClaveUnidad'] }}] {{ $result['Unidad'] }} | {{ $result['ClaveProdServ'] }} - {!! nl2br($result['Descripcion']) !!} | {{ \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) }} |
| {{ \App\Helpers\Helper::numberFormat($result->quantity,$result->unitMeasure->decimal_place) }} | {{ $result->unitMeasure->name_sat }} | {{ $result->satProduct->code }} - {!! nl2br($result->name) !!} | {{ \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_method_id'): {{ $customer_transfer->paymentMethod->name_sat }}
@endif @lang('sales/customer_transfer.entry_payment_term_id'): {{ $customer_transfer->paymentTerm->name }} @lang('general.text_issued_in'): {{ $customer_transfer->branchOffice->name ?? '' }} {!! ($customer_transfer->branchOffice->postcode ? ' ' . __('base/branch_office.entry_postcode') . ': ' . $customer_transfer->branchOffice->postcode : '') !!} |
@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 }} |