From ce15be44bdc43e0e7221ff2f9cae67ad4747ef03 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Thu, 30 Jul 2015 12:21:26 +0200 Subject: [PATCH] =?utf8?q?Steuerzonen=20und=20Buchungsgruppen=20bearbeiten?= =?utf8?q?:=20displayable=5Fname=20f=C3=BCr=20Konten?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Die description-Variable in TaxzoneChart enthält nun den displayable_name für die Konten. Für die Anzeige der Kontennamen beim Bearbeiten von Steuerzonen und Buchungsgruppen, wo die Konten nicht bearbeitet werden können sondern nur angezeigt werden sollen. Kein "--" mehr. --- templates/webpages/buchungsgruppen/form.html | 6 +++--- templates/webpages/taxzones/form.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/webpages/buchungsgruppen/form.html b/templates/webpages/buchungsgruppen/form.html index 16912fd85..ad9db1445 100644 --- a/templates/webpages/buchungsgruppen/form.html +++ b/templates/webpages/buchungsgruppen/form.html @@ -18,7 +18,7 @@ [%- ELSIF SELF.config.id AND SELF.config.orphaned %] [% L.chart_picker("config.inventory_accno_id", SELF.config.inventory_accno_id, choose=1, type='IC', style=style) %] [%- ELSE %] - [%- CHARTLIST.inventory_accno %] -- [%- CHARTLIST.inventory_accno_description %] + [%- CHARTLIST.inventory_accno_description %] [%- END %] [%- FOREACH tz = TAXZONES %] @@ -29,7 +29,7 @@ [%- ELSIF SELF.config.id AND SELF.config.orphaned %] [% L.chart_picker('income_accno_id_' _ tz.id, CHARTLIST.${tz.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %] [%- ELSE %] - [% CHARTLIST.${tz.id}.income_accno %] -- [% CHARTLIST.${tz.id}.income_accno_description %] + [% CHARTLIST.${tz.id}.income_accno_description %] [%- END %] @@ -39,7 +39,7 @@ [%- ELSIF SELF.config.id AND SELF.config.orphaned %] [% L.chart_picker('expense_accno_id_' _ tz.id, CHARTLIST.${tz.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %] [%- ELSE %] - [% CHARTLIST.${tz.id}.expense_accno %] -- [% CHARTLIST.${tz.id}.expense_accno_description %] + [% CHARTLIST.${tz.id}.expense_accno_description %] [%- END %] [%- END %] diff --git a/templates/webpages/taxzones/form.html b/templates/webpages/taxzones/form.html index b12739962..d6153788c 100644 --- a/templates/webpages/taxzones/form.html +++ b/templates/webpages/taxzones/form.html @@ -17,7 +17,7 @@ [%- ELSIF SELF.config.id AND SELF.config.orphaned %] [% L.chart_picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %] [%- ELSE %] - [% CHARTLIST.${bg.id}.income_accno %] -- [% CHARTLIST.${bg.id}.income_accno_description %] + [% CHARTLIST.${bg.id}.income_accno_description %] [%- END %] @@ -27,7 +27,7 @@ [%- ELSIF SELF.config.id AND SELF.config.orphaned %] [% L.chart_picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %] [%- ELSE %] - [% CHARTLIST.${bg.id}.expense_accno %] -- [% CHARTLIST.${bg.id}.expense_accno_description %] + [% CHARTLIST.${bg.id}.expense_accno_description %] [%- END %] [%- END %] -- 2.20.1