diff --git a/project/main/templates/main/complex_form/reports.html b/project/main/templates/main/complex_form/reports.html index 1670593..a991a51 100644 --- a/project/main/templates/main/complex_form/reports.html +++ b/project/main/templates/main/complex_form/reports.html @@ -4,61 +4,21 @@ {% set indent_2 = "ms-5" %}
- {{ checkbox( - title="Enable Reports", - name="reports", - state=state.enabled - ) }} + {{ checkbox(title="Enable Reports", name="reports", state=state.enabled) }}
- {{ checkbox( - title="Allow empty cashbag", - name="allow_empty_cashbag", - state=state.allow_empty_cashbag - ) }} - {{ checkbox( - title="Reports builder", - name="reports_builder", - state=state.reports_builder - ) }} - {{ checkbox( - title="Tax reports", - name="tax_reports", - state=state.tax_reports - ) }} - {{ checkbox( - title="Transaction list", - name="transaction_list", - state=state.transaction_list - ) }} - {{ checkbox( - title="Reports generator", - name="reports_generator", - state=state.reports_generator - ) }} - {{ checkbox( - title="Technical center reports", - name="technical_center_reports", - state=state.technical_center_reports - ) }} - {{ checkbox( - title="Dispense list", - name="dispense_list", - state=state.dispense_list - ) }} + {{ checkbox(title="Allow empty cashbag", name="allow_empty_cashbag", state=state.allow_empty_cashbag) }} + {{ checkbox(title="Reports builder", name="reports_builder", state=state.reports_builder) }} + {{ checkbox(title="Tax reports", name="tax_reports", state=state.tax_reports) }} + {{ checkbox(title="Transaction list", name="transaction_list", state=state.transaction_list) }} + {{ checkbox(title="Reports generator", name="reports_generator", state=state.reports_generator) }} + {{ checkbox(title="Technical center reports", name="technical_center_reports", state=state.technical_center_reports) }} + {{ checkbox(title="Dispense list", name="dispense_list", state=state.dispense_list) }} + + {{ checkbox(title="Cash conformity", name="cash_conformity", state=state.cash_conformity) }} + {{ checkbox(title="Scan 2nd barcode", name="scan_2nd_bardcode", state=state.scan_2nd_bardcode, cls=indent_1) }} - {{ checkbox( - title="Cash conformity", - name="cash_conformity", - state=state.cash_conformity - ) }} - {{ checkbox( - title="Scan 2nd barcode", - name="scan_2nd_bardcode", - state=state.scan_2nd_bardcode, - cls=indent_1 - ) }} {{ select( title="Days between CC", name="days_between_cc", @@ -82,5 +42,4 @@ state=state.days_between_cc, cls=indent_1 ) }} -
diff --git a/project/main/templates/main/complex_form/route_module.html b/project/main/templates/main/complex_form/route_module.html index 3ab1d63..0fa4c0f 100644 --- a/project/main/templates/main/complex_form/route_module.html +++ b/project/main/templates/main/complex_form/route_module.html @@ -4,71 +4,19 @@ {% set indent_2 = "ms-5" %}
- {{ checkbox( - title="Enable Route module", - name="route_module", - state=state.enabled - ) }} + {{ checkbox(title="Enable Route module", name="route_module", state=state.enabled) }}
- {{ checkbox( - title="Smart routing", - name="smart_routing", - state=state.smart_routing - ) }} - - {{ checkbox( - title="Predictive pickup", - name="predictive_pickup", - state=state.predictive_pickup, - cls=indent_1 - ) }} - - {{ checkbox( - title="Automatic planning", - name="automatic_planning", - state=state.automatic_planning, - cls=indent_1 - ) }} - - {{ checkbox( - title="Geo routing", - name="geo_routing", - state=state.geo_routing - ) }} - - {{ checkbox( - title="Warehouse", - name="warehouse", - state=state.warehouse - ) }} - - {{ checkbox( - title="End warehouse tracking", - name="end_warehouse_tracking", - state=state.end_warehouse_tracking, - cls=indent_1 - ) }} - - {{ checkbox( - title="Pick&Pack application", - name="pick_and_pack_application", - state=state.pick_and_pack_application, - cls=indent_1 - ) }} - - {{ checkbox( - title="Custom forms in routing", - name="custom_forms_in_routing", - state=state.custom_forms_in_routing - ) }} - - {{ checkbox( - title="Money bag tracking", - name="money_bag_tracking", - state=state.money_bag_tracking - ) }} + {{ checkbox(title="Smart routing", name="smart_routing", state=state.smart_routing) }} + {{ checkbox(title="Predictive pickup", name="predictive_pickup", state=state.predictive_pickup, cls=indent_1) }} + {{ checkbox(title="Automatic planning", name="automatic_planning", state=state.automatic_planning, cls=indent_1) }} + {{ checkbox(title="Geo routing", name="geo_routing", state=state.geo_routing) }} + {{ checkbox(title="Warehouse", name="warehouse", state=state.warehouse) }} + {{ checkbox(title="End warehouse tracking", name="end_warehouse_tracking", state=state.end_warehouse_tracking, cls=indent_1) }} + {{ checkbox(title="Pick&Pack application", name="pick_and_pack_application", state=state.pick_and_pack_application, cls=indent_1) }} + {{ checkbox(title="Custom forms in routing", name="custom_forms_in_routing", state=state.custom_forms_in_routing) }} + {{ checkbox(title="Money bag tracking", name="money_bag_tracking", state=state.money_bag_tracking) }} {{ select( title="Packing model", @@ -81,24 +29,7 @@ state=state.packing_model ) }} - {{ checkbox( - title="Prekitting to box", - name="prekitting_to_box", - state=state.prekitting_to_box, - cls=indent_1 - ) }} - - {{ checkbox( - title="Prekitting to pallet", - name="prekitting_to_pallet", - state=state.prekitting_to_pallet, - cls=indent_1 - ) }} - - {{ checkbox( - title="Real time stock", - name="real_time_stock", - state=state.real_time_stock, - cls=indent_1 - ) }} + {{ checkbox(title="Prekitting to box", name="prekitting_to_box", state=state.prekitting_to_box, cls=indent_1) }} + {{ checkbox(title="Prekitting to pallet", name="prekitting_to_pallet", state=state.prekitting_to_pallet, cls=indent_1) }} + {{ checkbox(title="Real time stock", name="real_time_stock", state=state.real_time_stock, cls=indent_1) }}
diff --git a/project/main/templates/main/complex_form/warehouse_management.html b/project/main/templates/main/complex_form/warehouse_management.html index 1fa242b..b3e4c40 100644 --- a/project/main/templates/main/complex_form/warehouse_management.html +++ b/project/main/templates/main/complex_form/warehouse_management.html @@ -4,12 +4,7 @@ {% set indent_2 = "ms-5" %}
- {{ checkbox( - title="Product warehouse", - name="product_warehouse", - state=state.product_warehouse - ) }} - + {{ checkbox(title="Product warehouse", name="product_warehouse", state=state.product_warehouse) }} {{ select( title="Delivery option", name="delivery_option", @@ -20,39 +15,10 @@ state=state.delivery_option, cls=indent_1 ) }} - {{ checkbox( - title="Allow negative stock", - name="allow_negative_stock", - state=state.allow_negative_stock, - cls=indent_1 - ) }} - {{ checkbox( - title="Route reserve stock", - name="route_reserve_stock", - state=state.route_reserve_stock, - cls=indent_1 - ) }} - {{ checkbox( - title="Refill log", - name="refill_log", - state=state.refill_log, - cls=indent_1 - ) }} - {{ checkbox( - title="Product order", - name="product_order", - state=state.product_order, - cls=indent_1 - ) }} - - {{ checkbox( - title="Spare parts warehouse", - name="spare_parts_warehouse", - state=state.spare_parts_warehouse - ) }} - {{ checkbox( - title="Purchase module", - name="purchase_module", - state=state.purchase_module - ) }} + {{ checkbox(title="Allow negative stock", name="allow_negative_stock", state=state.allow_negative_stock, cls=indent_1) }} + {{ checkbox(title="Route reserve stock", name="route_reserve_stock", state=state.route_reserve_stock, cls=indent_1) }} + {{ checkbox(title="Refill log", name="refill_log", state=state.refill_log, cls=indent_1) }} + {{ checkbox(title="Product order", name="product_order", state=state.product_order, cls=indent_1) }} + {{ checkbox(title="Spare parts warehouse", name="spare_parts_warehouse", state=state.spare_parts_warehouse) }} + {{ checkbox(title="Purchase module", name="purchase_module", state=state.purchase_module) }}