{{ translate('Download') }}
@@ -76,7 +76,7 @@
- {% if hasAccess('logistics_index', 'add') %}
+ {% if hasAccess('logistics_transport', 'add') %}
{% import 'site/partials/form.twig' as forms %}
{{ forms.renderForm(form) }}
@@ -94,13 +94,13 @@
$('#calendar').logisticsCalendar({
fetchUrl: '{{ url('logistics_reservation_fetch') }}',
- moveUrl: '{{ url('logistics_index', {'action': 'move'}) }}',
- addUrl: '{{ url('logistics_index', {'action': 'add'}) }}',
- editUrl: '{{ url('logistics_index', {'action': 'edit'}) }}',
- deleteUrl: '{{ url('logistics_index', {'action': 'delete'}) }}',
+ moveUrl: '{{ url('logistics_transport', {'action': 'move'}) }}',
+ addUrl: '{{ url('logistics_transport', {'action': 'add'}) }}',
+ editUrl: '{{ url('logistics_transport', {'action': 'edit'}) }}',
+ deleteUrl: '{{ url('logistics_transport', {'action': 'delete'}) }}',
passengerTypeaheadUrl: '{{ url("common_admin_academic_typeahead", {}) }}',
- editable: {% if hasAccess('logistics_index', 'add') %}true{% else %}false {% endif %},
- deletable: {% if hasAccess('logistics_index', 'delete') %}true{% else %}false {% endif %},
+ editable: {% if hasAccess('logistics_transport', 'add') %}true{% else %}false {% endif %},
+ deletable: {% if hasAccess('logistics_transport', 'delete') %}true{% else %}false {% endif %},
form: $('#reservationForm'),
monthNames: [
'{{ translate('January') }}',
diff --git a/module/LogisticsBundle/Resources/views/logistics/index/move.twig b/module/LogisticsBundle/Resources/views/logistics/transport/move.twig
similarity index 100%
rename from module/LogisticsBundle/Resources/views/logistics/index/move.twig
rename to module/LogisticsBundle/Resources/views/logistics/transport/move.twig