Skip to content

Commit

Permalink
Swiss QR-Bill: Datenbankupgrade Mandantenkonfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
rebootl authored and arevamp committed Dec 23, 2021
1 parent 8326ced commit a11b7df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions SL/DB/MetaSetup/Default.pm
Expand Up @@ -46,6 +46,7 @@ __PACKAGE__->meta->columns(
contact_departments_use_textfield => { type => 'boolean' },
contact_titles_use_textfield => { type => 'boolean' },
create_part_if_not_found => { type => 'boolean', default => 'false' },
create_qrbill_invoices => { type => 'boolean' },
create_zugferd_invoices => { type => 'integer' },
currency_id => { type => 'integer', not_null => 1 },
customer_hourly_rate => { type => 'numeric', precision => 8, scale => 2 },
Expand Down
5 changes: 5 additions & 0 deletions sql/Pg-upgrade2/defaults_create_qrbill_data.sql
@@ -0,0 +1,5 @@
-- @tag: defaults_create_qrbill_data
-- @description: Swiss QR-Bill Informationserzeugung Einstellungsoption
-- @depends: release_3_5_6_1
ALTER TABLE defaults ADD COLUMN create_qrbill_invoices BOOLEAN;
UPDATE defaults SET create_qrbill_invoices = FALSE;

0 comments on commit a11b7df

Please sign in to comment.