Detalle de la orden {{ data.orderData.travelRef }}

Tipo de Órden {{ data.orderData.orderType }}
Fecha de creación {{ data.orderData.createDate }}
Creada por {{ data.orderData.createUser }}
Estado {{ data.orderData.statusText }}
Fecha estimada de salida {{ data.orderData.scheduledDepartureDatetime }}
Tiempo estimado de viaje [hs:mm] {{ data.orderData.travelTime }}
Origen   {{ data.orderData.pickup.name }} ({{ data.orderData.pickupLocation}})
Destino   {{ data.orderData.delivery.name }} ({{ data.orderData.deliveryLocation}})
Peso de la carga {{ data.orderData.weight }} Libras ({{ (data.orderData.weight * 0.4536)|round(1, 'ceil') }} Kg)
{% if data.orderData.orderCarrier|length > 0 %} {% else %} {% endif %} {% if data.orderData.orderCarrierCuit|length > 0 %} {% else %} {% endif %} {% if data.orderData.vehicleType > 0 %} {% else %} {% endif %} {% if data.orderData.vehicleType <= 2 %} {% else %} {% endif %} {% if data.orderData.vehicleType == 0 %} {% else %} {% endif %} {% if data.orderData.vehicleType == 3 or data.orderData.vehicleType == 4 %} {% endif %}
Empresa Transportista{{ data.orderData.orderCarrier }}Sin datos
CUIT Transportista{{ data.orderData.orderCarrierCuit }}Sin datos
Tipo de vehículo{{ lang['dashboard']['orders']['modal']['vehicle_types'][data.orderData.vehicleType - 1].name }} Sin datos
Dominio VehículoDominio TractorSin datos{{ data.orderData.truckLicensePlate }}
Dominio Remolque {{ data.orderData.trailerLicensePlate }}
Nombre Chofer {{ data.orderData.driver.name }}
D.N.I. Chofer {{ data.orderData.driver.dni }}
Cel Chofer {{ data.orderData.driver.cel }}
Observaciones {{ data.orderData.comment }}

Historial de la orden {{ data.orderData.travelRef }}

Última Comunicación
{% if data.lastReport.location.timestamp == 0 %} Sin datos {% else %}
Fecha y Hora {{ data.lastReport.location.datetime }}
Estado {{ data.lastReport.statusText }}
Ubicación: {% if data.lastReport.location.hasAddress %}   {{ data.lastReport.location.address }} {% elseif data.lastReport.location.hasCoords %}   {{ data.lastReport.location.lat }},{{ data.lastReport.location.lng }} {% else %} Sin datos {% endif %}
{% endif %}

Historial de Eventos

{% if data.history|length == 0 %} Sin datos {% else %}
{% for h in data.history %} {% if h.status == 4 or h.ediId == '' %} {% elseif h.status == 2 or h.status == 3 %} {% elseif h.status == 5 %} {% else %} {% endif %} {% if h.ediId == '' or h.ediId == '30' %} {% else %} {% endif %} {% if h.ediId == '' %} {% else %} {% endif %} {% endfor %}
Fecha y hora Ubicación Coordenadas Estado EDI Observaciones
{{ h.location.datetime }}-{{ data.orderData.pickup.name }}{{ data.orderData.delivery.name }}Sin datos {% set lat = h.location.lat %} {% set lng = h.location.lng %} {{ lat }}, {{ lng }} -Posición JSON{{ h.statusText }}{{ h.ediId }} {% if h.agent == 'web' %} WEB {% endif %} {{ h.comment }}
{% endif %}