[% 'Description' | $T8 %] |
[%- L.input_tag("config.description", SELF.config.description) %] |
[%- FOREACH bg = BUCHUNGSGRUPPEN %]
[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %] |
[%- IF NOT SELF.config.id %]
[% L.chart_picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %] |
[%- 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_description %] |
[%- END %]
[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %] |
[%- IF NOT SELF.config.id %]
[% L.chart_picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %] |
[%- 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_description %] |
[%- END %]
[%- END %]
[% LxERP.t8('Obsolete') %]: [% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]
[% L.hidden_tag("action", "Taxzones/dispatch") %]
[% L.submit_tag("action_" _ (SELF.config.id ? "update" : "create"), LxERP.t8('Save'), onclick="return check_prerequisites();") %]
[%- IF SELF.config.id AND SELF.config.orphaned %]
[% L.submit_tag("action_delete", LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure?')) %]
[%- END %]
[%- LxERP.t8("Cancel") %]