[% 'Description' | $T8 %] |
[%- L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] |
[% 'Inventory Account' | $T8 %] |
[%- IF NOT SELF.config.id %]
[% P.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 %]
[% P.chart.picker("config.inventory_accno_id", SELF.config.inventory_accno_id, choose=1, type='IC', style=style) %] |
[%- ELSE %]
[%- CHARTLIST.inventory_accno_description %] |
[%- END %]
[%- FOREACH tz = TAXZONES %]
[% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %] |
[%- IF NOT SELF.config.id %]
[% P.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 %]
[% P.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_description %] |
[%- END %]
[% 'Expense' | $T8 %] [% HTML.escape(tz.description) %] |
[%- IF NOT SELF.config.id %]
[% P.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 %]
[% P.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_description %] |
[%- END %]
[%- END %]