Mahnungen: Optionales Feld Rechnungen ausdrucken für Mahnungs-Konfiguration
authorJan Büren <jan@kivitendo.de>
Fri, 17 Apr 2020 10:13:15 +0000 (12:13 +0200)
committerJan Büren <jan@kivitendo.de>
Fri, 17 Apr 2020 10:13:15 +0000 (12:13 +0200)
SL/DB/MetaSetup/DunningConfig.pm
sql/Pg-upgrade2/dunning_config_print_original_invoice.sql [new file with mode: 0644]

index ef4c594..e737864 100644 (file)
@@ -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 (file)
index 0000000..2031b7c
--- /dev/null
@@ -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;
+