-\IfSubStringInString{USD}{\lxcurrency}{\input{\identpath/usd_account.tex}}{
- \IfSubStringInString{CHF}{\lxcurrency}{\input{\identpath/chf_account.tex}}{
- \IfSubStringInString{EUR}{\lxcurrency}{\input{\identpath/euro_account.tex}}{\input{\identpath/euro_account.tex}}
- } % Ende CHF
-} % Ende USD
-
-% Briefkopf, Logo oder Briefpapier
-%%\IfSubStringInString{mail}{\lxmedia}{ % nur bei Mail
- % Nur ein Logo oben rechts
- \setlength{\wpYoffset}{130mm} % Verschiebung von der Mitte nach oben
- \setlength{\wpXoffset}{-68mm} % Verschiebung von der Mitte nach rechts
- \CenterWallPaper{0.2}{\identpath/briefkopf.png} % mit Skalierung
- % oder ganzer Briefbogen als Hintergrund
- %% \CenterWallPaper{1}{\identpath/briefbogen.pdf}
-%%} % Mail-Ende
+\tl_new:N \g_kivi_currency_tl
+\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: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