[options] add IBAN and BIC

This commit is contained in:
Christopher Lam 2023-01-25 20:08:49 +08:00
parent cd6410e06b
commit b881e85d4e
2 changed files with 10 additions and 0 deletions

View File

@ -365,6 +365,8 @@
(export gnc:*company-url*)
(export gnc:*company-email*)
(export gnc:*company-contact*)
(export gnc:*company-iban*)
(export gnc:*company-bic*)
(export gnc:*fancy-date-label*)
(export gnc:*fancy-date-format*)
(export gnc:*tax-label*)
@ -394,6 +396,8 @@
(define gnc:*company-url* (N_ "Company Website URL"))
(define gnc:*company-email* (N_ "Company Email Address"))
(define gnc:*company-contact* (N_ "Company Contact Person"))
(define gnc:*company-iban* (N_ "Company IBAN"))
(define gnc:*company-bic* (N_ "Company BIC"))
(define gnc:*fancy-date-label* (N_ "Fancy Date Format"))
(define gnc:*fancy-date-format* (N_ "custom"))
(define gnc:*tax-label* (N_ "Tax"))

View File

@ -1238,6 +1238,12 @@ gnc_option_db_book_options(GncOptionDB* odb)
OPTION_NAME_DEFAULT_INVOICE_REPORT_TIMEOUT, "e2",
N_("Length of time to change the used invoice report. A value of 0 means disabled."),
0.0, 0.0, 20.0, 1.0);
gnc_register_string_option (odb, business_section, N_("Company IBAN"), "c7",
N_ ("The International Bank Account Number for receiving payments."),
empty_string);
gnc_register_string_option (odb, business_section, N_("Company BIC"), "c8",
N_ ("The Business Identifier Codes (or SWIFT) for your bank."),
empty_string);
gnc_register_taxtable_option(odb, business_section,
N_("Default Customer TaxTable"), "f1",
N_("The default tax table to apply to customers."),