{% extends 'shared/secure.html.twig'%} {% block content %} {% if app.request.attributes.get('_route') == 'app_sales_order' or app.request.attributes.get('_route') == 'app_purchase_order' %} {{ include('main/order/_order-list.html.twig') }} {% elseif app.request.attributes.get('_route') == 'app_create_sales_order' or app.request.attributes.get('_route') == 'app_create_purchase_order' %} {{ include('main/order/_start-mgr.html.twig') }} {% elseif app.request.attributes.get('_route') == 'app_sales_order_mgr' or app.request.attributes.get('_route') == 'app_purchase_order_mgr' %} {{ include('main/order/_order-mgr.html.twig') }} {% elseif app.request.attributes.get('_route') == 'app_view_order_detail' %} {{ include('main/order/_order-detail.html.twig') }} {% elseif app.request.attributes.get('_route') == 'app_sales_pending_fulfilment' or app.request.attributes.get('_route') == 'app_purchase_pending_fulfilment' %} {{ include('main/order/_order-list.html.twig') }} {% elseif app.request.attributes.get('_route') == 'app_sales_order_fulfilled' or app.request.attributes.get('_route') == 'app_purchase_order_fulfilled' %} {{ include('main/order/_order-list.html.twig') }} {% elseif app.request.attributes.get('_route') == 'app_sales_order_awaiting_payment' or app.request.attributes.get('_route') == 'app_purchase_order_awaiting_payment' %} {{ include('main/order/_order-list.html.twig') }} {% endif %} {% endblock %} {% block Javascript %} {# {% if form is defined %} #} {# #} {# {% endif %} #} {% endblock %}