From 16583fc6fdf047758d57299e7896ceb8c339c5b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Fri, 17 Apr 2020 12:13:15 +0200 Subject: [PATCH] =?utf8?q?Mahnungen:=20Optionales=20Feld=20Rechnungen=20au?= =?utf8?q?sdrucken=20f=C3=BCr=20Mahnungs-Konfiguration?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/MetaSetup/DunningConfig.pm | 1 + sql/Pg-upgrade2/dunning_config_print_original_invoice.sql | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 sql/Pg-upgrade2/dunning_config_print_original_invoice.sql diff --git a/SL/DB/MetaSetup/DunningConfig.pm b/SL/DB/MetaSetup/DunningConfig.pm index ef4c59429..e7378646f 100644 --- a/SL/DB/MetaSetup/DunningConfig.pm +++ b/SL/DB/MetaSetup/DunningConfig.pm @@ -22,6 +22,7 @@ __PACKAGE__->meta->columns( id => { type => 'integer', not_null => 1, sequence => 'id' }, interest_rate => { type => 'numeric', precision => 15, scale => 5 }, payment_terms => { type => 'integer' }, + print_original_invoice => { type => 'boolean' }, template => { type => 'text' }, terms => { type => 'integer' }, ); diff --git a/sql/Pg-upgrade2/dunning_config_print_original_invoice.sql b/sql/Pg-upgrade2/dunning_config_print_original_invoice.sql new file mode 100644 index 000000000..2031b7cbb --- /dev/null +++ b/sql/Pg-upgrade2/dunning_config_print_original_invoice.sql @@ -0,0 +1,5 @@ +-- @tag: dunning_config_print_original_invoice +-- @description: Optional die Originalrechnung bei Zahlungserinnerungen ausdrucken +-- @depends: release_3_5_5 +ALTER TABLE dunning_config ADD COLUMN print_original_invoice boolean; + -- 2.20.1