This commit is contained in:
Eden Kirin
2024-04-07 10:41:21 +02:00
parent 76e81be6bf
commit f06b72343b
3 changed files with 31 additions and 175 deletions

View File

@ -4,61 +4,21 @@
{% set indent_2 = "ms-5" %} {% set indent_2 = "ms-5" %}
<div class="card p-3 h-100"> <div class="card p-3 h-100">
{{ checkbox( {{ checkbox(title="Enable Reports", name="reports", state=state.enabled) }}
title="Enable Reports",
name="reports",
state=state.enabled
) }}
<hr> <hr>
{{ checkbox( {{ checkbox(title="Allow empty cashbag", name="allow_empty_cashbag", state=state.allow_empty_cashbag) }}
title="Allow empty cashbag", {{ checkbox(title="Reports builder", name="reports_builder", state=state.reports_builder) }}
name="allow_empty_cashbag", {{ checkbox(title="Tax reports", name="tax_reports", state=state.tax_reports) }}
state=state.allow_empty_cashbag {{ checkbox(title="Transaction list", name="transaction_list", state=state.transaction_list) }}
) }} {{ checkbox(title="Reports generator", name="reports_generator", state=state.reports_generator) }}
{{ checkbox( {{ checkbox(title="Technical center reports", name="technical_center_reports", state=state.technical_center_reports) }}
title="Reports builder", {{ checkbox(title="Dispense list", name="dispense_list", state=state.dispense_list) }}
name="reports_builder",
state=state.reports_builder {{ 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="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
) }}
{{ select( {{ select(
title="Days between CC", title="Days between CC",
name="days_between_cc", name="days_between_cc",
@ -82,5 +42,4 @@
state=state.days_between_cc, state=state.days_between_cc,
cls=indent_1 cls=indent_1
) }} ) }}
</div> </div>

View File

@ -4,71 +4,19 @@
{% set indent_2 = "ms-5" %} {% set indent_2 = "ms-5" %}
<div class="card p-3 h-100"> <div class="card p-3 h-100">
{{ checkbox( {{ checkbox(title="Enable Route module", name="route_module", state=state.enabled) }}
title="Enable Route module",
name="route_module",
state=state.enabled
) }}
<hr> <hr>
{{ checkbox( {{ checkbox(title="Smart routing", name="smart_routing", state=state.smart_routing) }}
title="Smart routing", {{ checkbox(title="Predictive pickup", name="predictive_pickup", state=state.predictive_pickup, cls=indent_1) }}
name="smart_routing", {{ checkbox(title="Automatic planning", name="automatic_planning", state=state.automatic_planning, cls=indent_1) }}
state=state.smart_routing {{ 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( {{ checkbox(title="Pick&Pack application", name="pick_and_pack_application", state=state.pick_and_pack_application, cls=indent_1) }}
title="Predictive pickup", {{ checkbox(title="Custom forms in routing", name="custom_forms_in_routing", state=state.custom_forms_in_routing) }}
name="predictive_pickup", {{ checkbox(title="Money bag tracking", name="money_bag_tracking", state=state.money_bag_tracking) }}
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( {{ select(
title="Packing model", title="Packing model",
@ -81,24 +29,7 @@
state=state.packing_model state=state.packing_model
) }} ) }}
{{ checkbox( {{ checkbox(title="Prekitting to box", name="prekitting_to_box", state=state.prekitting_to_box, cls=indent_1) }}
title="Prekitting to box", {{ checkbox(title="Prekitting to pallet", name="prekitting_to_pallet", state=state.prekitting_to_pallet, cls=indent_1) }}
name="prekitting_to_box", {{ checkbox(title="Real time stock", name="real_time_stock", state=state.real_time_stock, cls=indent_1) }}
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
) }}
</div> </div>

View File

@ -4,12 +4,7 @@
{% set indent_2 = "ms-5" %} {% set indent_2 = "ms-5" %}
<div class="card p-3 h-100"> <div class="card p-3 h-100">
{{ checkbox( {{ checkbox(title="Product warehouse", name="product_warehouse", state=state.product_warehouse) }}
title="Product warehouse",
name="product_warehouse",
state=state.product_warehouse
) }}
{{ select( {{ select(
title="Delivery option", title="Delivery option",
name="delivery_option", name="delivery_option",
@ -20,39 +15,10 @@
state=state.delivery_option, state=state.delivery_option,
cls=indent_1 cls=indent_1
) }} ) }}
{{ checkbox( {{ checkbox(title="Allow negative stock", name="allow_negative_stock", state=state.allow_negative_stock, cls=indent_1) }}
title="Allow negative stock", {{ checkbox(title="Route reserve stock", name="route_reserve_stock", state=state.route_reserve_stock, cls=indent_1) }}
name="allow_negative_stock", {{ checkbox(title="Refill log", name="refill_log", state=state.refill_log, cls=indent_1) }}
state=state.allow_negative_stock, {{ checkbox(title="Product order", name="product_order", state=state.product_order, cls=indent_1) }}
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="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
) }}
</div> </div>