From: Marei Peischl Date: Sun, 22 Dec 2019 13:33:09 +0000 (+0100) Subject: initialize default account information X-Git-Tag: release-3.5.6.1~301 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4f107f67d17eefaa680fc154e990b22cf8d1d659;p=kivitendo-erp.git initialize default account information --- diff --git a/firma/default_account.tex b/firma/default_account.tex new file mode 100644 index 000000000..e436c3dc4 --- /dev/null +++ b/firma/default_account.tex @@ -0,0 +1,6 @@ +\newcommand{\kontonummer}{4071953800} +\newcommand{\bank}{GLS Bank eG} +\newcommand{\bankleitzahl}{430 609 67} +\newcommand{\bic}{DE50430609674071953800} +\newcommand{\iban}{GENODEM1GLS} +%Keine Definition von \currency! diff --git a/insettings.tex b/insettings.tex index 3b9bc3a8f..17929142e 100644 --- a/insettings.tex +++ b/insettings.tex @@ -54,13 +54,13 @@ \str_if_in:NnT \lxcurrency {USD} {\tl_gset:Nn \g_kivi_currency_tl {usd}} \str_if_in:NnT \lxcurrency {CHF} {\tl_gset:Nn \g_kivi_currency_tl {chf}} \str_if_in:NnT \lxcurrency {EUR} {\tl_gset:Nn \g_kivi_currency_tl {euro}} -\tl_if_empty:NTF \g_kivi_currency_tl { - \str_gset_eq:NN \g_kivi_currency_tl \lxcurrency - \input{\identpath/euro_account.tex} - \let\currency\g_kivi_currency_tl -}{ - \input{\identpath/\g_kivi_currency_tl _account.tex} +\tl_if_empty:NT \g_kivi_currency_tl { + \tl_gset:Nn \g_kivi_currency_tl {default} + \edef \currency {\tl_to_str:N \lxcurrency} } + +\input{\identpath/\g_kivi_currency_tl _account.tex} + \ExplSyntaxOff