Files
tripwithbonus/templates/widgets/w_route_info.html
2023-07-27 13:56:15 +03:00

35 lines
1.2 KiB
HTML

{% for route in routes %}
<div class="my_route">
<div class="route_info">
{{ route.get_cargo_type_display }}
{{ route.weight }}
{{ route.get_type_transport_display }}
<div class="route_info_point">
{{ route.from_country }}/{{ route.from_city }}
{{ route.to_country }}/{{ route.to_city }}
</div>
<div class="route_info_date">
Отправка: {{route.departure_DT }}
Прибытие: {{route.arrival_DT }}
</div>
<div class="route_info_ft_place">
Откуда заберёт:{{ route.from_place }}
Куда доставит:{{ route.to_place }}
</div>
</div>
<div class="route_contact">
Контакты перевозчика:
{{ route.owner.last_name }} {{ route.owner.first_name }}
{{ route.phone }}
{{ route.extra_phone }}
{{ route.owner.email }}
</div>
</div>
{% endfor %}