[%- USE HTML -%][%- USE LxERP -%][%- USE L -%]
[% LxERP.t8('Preselected warehouse') %] [% L.select_tag('defaults.stocktaking_warehouse_id', SELF.all_warehouses, id='stocktaking_warehouse_id', with_empty=1, default=SELF.defaults.stocktaking_warehouse_id, title_key='description', onchange="warehouse_selected(this.selectedIndex == 0 ? -1 : warehouses[this.selectedIndex - 1].id, -1 ,'stocktaking_bin_id')") %] [% LxERP.t8('If configured this warehouse will be preselected for stocktaking.') %]
[% LxERP.t8('Preselected bin') %] [% L.select_tag('defaults.stocktaking_bin_id', [], id='stocktaking_bin_id', with_empty=1) %] [% LxERP.t8('If configured this bin will be preselected for stocktaking.') %]
[% LxERP.t8('Preselected cutoff date') %] [% L.date_tag('defaults.stocktaking_cutoff_date', SELF.defaults.stocktaking_cutoff_date) %] [% LxERP.t8('If configured this date will used as preselected cutoff date for stocktaking.') %]
[% LxERP.t8('Threshold for warning on quantity difference') %] [% L.input_tag('defaults.stocktaking_qty_threshold_as_number', SELF.defaults.stocktaking_qty_threshold_as_number, size=15, class="numeric") %] [% LxERP.t8('If the counted quantity differs more than this threshold from the quantity in the database, a warning will be shown. Set to 0 to switch of this feature.') %]