From: Jan Büren Date: Mon, 10 May 2021 10:53:28 +0000 (+0200) Subject: Konfigurierbarer Zeitraum innerhalb dessen Lieferscheine wieder rückgelagert werden... X-Git-Tag: kivitendo-mebil_0.1-0~9^2~242 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f89dda62e91564f825f52df0c4e63ca85691e858;p=kivitendo-erp.git Konfigurierbarer Zeitraum innerhalb dessen Lieferscheine wieder rückgelagert werden können --- diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index c998dc4d4..6308292d7 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -175,6 +175,7 @@ __PACKAGE__->meta->columns( transfer_default_use_master_default_bin => { type => 'boolean', default => 'false' }, transfer_default_warehouse_for_assembly => { type => 'boolean', default => 'false' }, transport_cost_reminder_article_number_id => { type => 'integer' }, + undo_transfer_interval => { type => 'integer', default => 7 }, vc_greetings_use_textfield => { type => 'boolean' }, vendor_ustid_taxnummer_unique => { type => 'boolean', default => 'false' }, vendornumber => { type => 'text' }, diff --git a/sql/Pg-upgrade2/add_transfer_doc_interval.sql b/sql/Pg-upgrade2/add_transfer_doc_interval.sql new file mode 100644 index 000000000..79e2abab3 --- /dev/null +++ b/sql/Pg-upgrade2/add_transfer_doc_interval.sql @@ -0,0 +1,4 @@ +-- @tag: add_transfer_doc_interval +-- @description: Konfigurierbarer Zeitraum innerhalb dessen Lieferscheine wieder rückgelagert werden können +-- @depends: release_3_5_6_1 +ALTER TABLE defaults ADD COLUMN undo_transfer_interval integer DEFAULT 7; diff --git a/templates/webpages/client_config/_warehouse.html b/templates/webpages/client_config/_warehouse.html index 3cc28efa0..2550a0603 100644 --- a/templates/webpages/client_config/_warehouse.html +++ b/templates/webpages/client_config/_warehouse.html @@ -116,5 +116,11 @@ [% LxERP.t8('Any stock contents containing a best before date will be impossible to stock out otherwise.') %] + + [% LxERP.t8('Undo Transfer Interval') %] + [% L.input_tag('defaults.unod_transfer_interval', LxERP.format_amount(SELF.defaults.undo_transfer_interval, 7), style=style) %] + [% LxERP.t8('Defines the interval where undoing transfers from a delivery order are allowed.') %] + +