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

[% HTML.escape(title) %]

-
+ [%- L.hidden_tag("id", SELF.config.id) %] - + [%- IF NOT SELF.config.id %] - + [%- ELSIF SELF.config.id AND SELF.config.orphaned %] - + [%- ELSE %] [%- END %] @@ -25,9 +25,9 @@ [%- IF NOT SELF.config.id %] - + [%- ELSIF SELF.config.id AND SELF.config.orphaned %] - + [%- ELSE %] [%- END %] @@ -35,36 +35,13 @@ [%- IF NOT SELF.config.id %] - + [%- ELSIF SELF.config.id AND SELF.config.orphaned %] - + [%- ELSE %] [%- END %] [%- END %]
[% 'Description' | $T8 %][%- L.input_tag("config.description", SELF.config.description) %][%- L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]
[% 'Inventory Account' | $T8 %][% L.chart_picker("config.inventory_accno_id", SELF.defaults.inventory_accno_id, choose=1, type='IC', style=style) %][% P.chart.picker("config.inventory_accno_id", SELF.defaults.inventory_accno_id, choose=1, type='IC', style=style) %][% L.chart_picker("config.inventory_accno_id", SELF.config.inventory_accno_id, choose=1, type='IC', style=style) %][% P.chart.picker("config.inventory_accno_id", SELF.config.inventory_accno_id, choose=1, type='IC', style=style) %][%- CHARTLIST.inventory_accno_description %]
[% 'Revenue' | $T8 %] [% HTML.escape(tz.description) %][% L.chart_picker('income_accno_id_' _ tz.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %][% P.chart.picker('income_accno_id_' _ tz.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %][% L.chart_picker('income_accno_id_' _ tz.id, CHARTLIST.${tz.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %][% P.chart.picker('income_accno_id_' _ tz.id, CHARTLIST.${tz.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %][% CHARTLIST.${tz.id}.income_accno_description %]
[% 'Expense' | $T8 %] [% HTML.escape(tz.description) %][% L.chart_picker('expense_accno_id_' _ tz.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %][% P.chart.picker('expense_accno_id_' _ tz.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %][% L.chart_picker('expense_accno_id_' _ tz.id, CHARTLIST.${tz.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %][% P.chart.picker('expense_accno_id_' _ tz.id, CHARTLIST.${tz.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %][% CHARTLIST.${tz.id}.expense_accno_description %]
- -

- [% L.hidden_tag("action", "Buchungsgruppen/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 %] -

- -
- -