{% extends 'base.html.twig' %} {% block body %}
| {{ 'Ordem Interna'|trans }}: | {{ transporte.ordem }} | ||
|---|---|---|---|
| {{ 'Matrícula'|trans }}: | {{ transporte.matricula.matricula }} | ||
| {{ 'Fornecedor'|trans }}: | {{ transporte.fornecedor.nome }} | ||
| {{ 'Motorista'|trans }}: | {{ transporte.motorista }} | ||
| {{ 'Valor Fornecedor'|trans}}: | {{ transporte.valorFornecedor }} | ||
| {{ 'Local de Carga'|trans }}: |
{{ transporte.localCarga }}
{% if transporte.localCarga2 %}
{{ transporte.localCarga2 }} {% endif %} |
||
| {{ 'Local de Descarga'|trans }}: |
{{ transporte.localDescarga }}
{% if transporte.localDescarga2 %}
{{ transporte.localDescarga2 }} {% endif %} |
||
| {{ 'Estado'|trans }}: | {% if transporte.emCurso == 1 %} {% if date(transporte.dataCarga) >= date() %}{{ 'Em Espera'|trans }} | {% else %}{{ 'Em Trânsito'|trans }} | {% endif %} {% else %}{{ 'Concluído'|trans }} | {% endif %}
| {{ 'Tempo de Trânsito'|trans }}: | {{ transporte.tempoTransito }} {{ 'horas'|trans }} | ||
| {{ 'Data de Carga'|trans }}: | {{ transporte.dataCarga|date("d/m/Y - H:i")}} | ||
| {{ 'Data de Descarga Prevista'|trans }}: | {{ transporte.dataPrevista|date("d/m/Y - H:i")}} | ||
| {{ 'Data de Descarga'|trans }}: | {{ transporte.dataDescarga|date("d/m/Y - H:i")}} | ||
| {{ 'Duração da Viagem'|trans }}: | {% if transporte.dataDescarga > transporte.dataPrevista %}+ {{ difference.h}} {{ 'horas e'|trans }} {{ difference.i}} {{ 'minutos'|trans }} | {% else %}- {{ difference.h}} {{ 'horas e'|trans }} {{ difference.i}} {{ 'minutos'|trans }} | {% endif %}|
| {{ 'Observações'|trans }}: | {{ transporte.observacao }} | ||
| GPS Live: | {{ 'Abrir'|trans }} |