X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fbuchungsgruppen%2Fform.html;h=05b5e1a47b5361ccc04c5e4f47c723d94d43fc5e;hb=97c075f917ac09a9ba2050ab97a77bb355657a2e;hp=04b7496ac1e3a93328c69131153e1821cc31a506;hpb=d3801bc92648bd7284b543162299fa31a0a0eb77;p=kivitendo-erp.git diff --git a/templates/webpages/buchungsgruppen/form.html b/templates/webpages/buchungsgruppen/form.html index 04b7496ac..05b5e1a47 100644 --- a/templates/webpages/buchungsgruppen/form.html +++ b/templates/webpages/buchungsgruppen/form.html @@ -1,69 +1,47 @@ [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%] +[% SET style="width: 400px" %]

[% HTML.escape(title) %]

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

- -
- -