{!! '' !!} 2.1 1.0 {{ $document->series }}-{{ $document->number }} {{ $document->date_of_issue->format('Y-m-d') }} {{ $document->time_of_issue }} {{ $document->document_type_id }} @if($document->observations) observations }}]]> @endif {{--{% if doc.docBaja -%}--}} {{----}} {{--{{ doc.docBaja.nroDoc }}--}} {{--{{ doc.docBaja.tipoDoc }}--}} {{----}} {{--{% endif -%}--}} @if($document->related) {{ $document->related->number }} {{ $document->related->document_type_id }} @endif {{ config('configuration.signature_uri') }} {{ config('configuration.signature_note') }} {{ $company->number }} trade_name }}]]> #{{ config('configuration.signature_uri') }} {{ $company->number }} name }}]]> {{ $document->customer->number }} customer->name }}]]> {{--{% if doc.tercero -%}--}} {{----}} {{--{{ doc.tercero.numDoc }}--}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{--{% endif -%}--}} 1 {{ $document->transfer_reason_type_id }} @if($document->transfer_reason_description) {{ $document->transfer_reason_description }} @endif {{ $document->total_weight }} @if($document->packages_number) {{ $document->packages_number }} @endif {{ ($document->transshipment_indicator)?"true":"false" }} {{ $document->transport_mode_type_id }} {{ $document->date_of_shipping->format('Y-m-d') }} @if($document->dispatcher) @php($dispatcher = $document->dispatcher) {{ $dispatcher->number }} name }}]]> @endif {{-- @if($document->driver) @php($driver = $document->driver) {{ $document->license_plate }} {{ $driver->number }} @endif --}} @if($document->license_plate) {{ $document->license_plate }} @endif @if($document->driver) @php($driver = $document->driver) @if(!is_null($driver->identity_document_type_id) && !is_null($driver->number)) {{ $driver->number }} @endif @endif {{ $document->delivery->location_id }} {{ $document->delivery->address }} @if($document->container_number) {{ $document->container_number }} @endif @if($document->secondary_license_plates) @php($secondary_license_plates = $document->secondary_license_plates) @if($secondary_license_plates->semitrailer) {{ $document->license_plate }} {{ $secondary_license_plates->semitrailer }} @endif @endif {{ $document->origin->location_id }} {{ $document->origin->address }} @if($document->port_code) {{ $document->port_code }} @endif @foreach($document->items as $row) {{ $loop->iteration }} {{ $row->quantity }} {{ $loop->iteration }} item->description }}]]> {{ $row->item->internal_id }} @if($row->item->item_code) {{ $row->item->item_code }} @endif @endforeach