X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbuchungsgruppen%2Fform.html;h=ad9db1445d816fd47c829e0a194cec8739f7e346;hb=fbbfd3ce7bdc893ac30638cce1427938276b659b;hp=4141570f424414a5c4633acd237080e22c80a77e;hpb=75855995cd0b3213b764b2b54fe1d2c18d4b7fde;p=kivitendo-erp.git diff --git a/templates/webpages/buchungsgruppen/form.html b/templates/webpages/buchungsgruppen/form.html index 4141570f4..ad9db1445 100644 --- a/templates/webpages/buchungsgruppen/form.html +++ b/templates/webpages/buchungsgruppen/form.html @@ -1,4 +1,5 @@ [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%] +[% SET style="width: 400px" %]

[% HTML.escape(title) %]

@@ -13,32 +14,32 @@ [% 'Inventory Account' | $T8 %] [%- IF NOT SELF.config.id %] - [%- L.select_tag("config.inventory_accno_id", ACCOUNTS.ic, title_sub=\account_label, default=SELF.defaults.inventory_accno_id) %] + [% L.chart_picker("config.inventory_accno_id", SELF.defaults.inventory_accno_id, choose=1, type='IC', style=style) %] [%- ELSIF SELF.config.id AND SELF.config.orphaned %] - [%- L.select_tag("config.inventory_accno_id", ACCOUNTS.ic, title_sub=\account_label, default=SELF.config.inventory_accno_id) %] + [% 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 %] [% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %] [%- IF NOT SELF.config.id %] - [%- L.select_tag('income_accno_id_' _ tz.id, ACCOUNTS.ic_income, title_sub=\account_label, default=SELF.defaults.income_accno_id) %] + [% L.chart_picker('income_accno_id_' _ tz.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %] [%- ELSIF SELF.config.id AND SELF.config.orphaned %] - [%- L.select_tag('income_accno_id_' _ tz.id, ACCOUNTS.ic_income, title_sub=\account_label, default=CHARTLIST.${tz.id}.income_accno_id) %] + [% 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 %] [% 'Expense' | $T8 %] [% HTML.escape(tz.description) %] [%- IF NOT SELF.config.id %] - [%- L.select_tag('expense_accno_id_' _ tz.id, ACCOUNTS.ic_expense, title_sub=\account_label, default=SELF.defaults.expense_accno_id) %] + [% L.chart_picker('expense_accno_id_' _ tz.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %] [%- ELSIF SELF.config.id AND SELF.config.orphaned %] - [%- L.select_tag('expense_accno_id_' _ tz.id, ACCOUNTS.ic_expense, title_sub=\account_label, default=CHARTLIST.${tz.id}.expense_accno_id) %] + [% 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 %]