+
+ [% 'Description' | $T8 %] |
+ [%- L.input_tag("config.description", SELF.config.description) %] |
+
+
+ [% 'Inventory account' | $T8 %] |
+ [%- IF SELF.config.id %]
+ [%- CHARTLIST.inventory_accno %] -- [%- CHARTLIST.inventory_accno_description %] |
+ [%- ELSE %]
+ [%- L.select_tag("config.inventory_accno_id", ACCOUNTS.ic, title_sub=\account_label, default=SELF.config.inventory_accno_id) %] |
+ [%- END %]
+
+[%- FOREACH tz = TAXZONES %]
+
+ [% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %] |
+ [%- IF SELF.config.id %]
+ [% CHARTLIST.${tz.id}.income_accno %] -- [% CHARTLIST.${tz.id}.income_accno_description %] |
+ [%- ELSE %]
+ [%- L.select_tag('income_accno_id_' _ tz.id, ACCOUNTS.ic_income, title_sub=\account_label, default=CHARTLIST.${tz.id}.income_accno_id) %] |
+ [%- END %]
+
+
+ [% 'Expense' | $T8 %] [% HTML.escape(tz.description) %] |
+ [%- IF SELF.config.id %]
+ [% CHARTLIST.${tz.id}.expense_accno %] -- [% CHARTLIST.${tz.id}.expense_accno_description %] |
+ [%- ELSE %]
+ [%- L.select_tag('expense_accno_id_' _ tz.id, ACCOUNTS.ic_expense, title_sub=\account_label, default=CHARTLIST.${tz.id}.expense_accno_id) %] |
+ [%- END %]
+
+[%- END %]
+
+
+
+ [% L.hidden_tag("action", "Buchungsgruppen/dispatch") %]
+ [% L.submit_tag("action_" _ (SELF.config.id ? "update" : "create"), LxERP.t8('Save'), onclick="return check_prerequisites();") %]
+ [%- LxERP.t8("Cancel") %]
+
+
+