2.1.15 change cargo_type and transport_type names

This commit is contained in:
SDE
2025-01-14 18:38:38 +03:00
parent 4b57ad3f8b
commit a40ae5d37d
5 changed files with 51 additions and 9 deletions

View File

@@ -82,7 +82,7 @@ def get_profile_new_route_page_html(request, data):
if data['owner_type'] == 'mover':
tpl = 'v2/blocks/b_make_mover_order.html'
form.fields['type_transport'].choices = type_transport_choices[1:]
form.fields['type_transport'].choices = type_transport_choices[:-1]
else:
tpl = 'v2/blocks/b_make_poster_order.html'
form.fields['type_transport'].choices = type_transport_choices