Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5e41589d

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 5e41589dd0cdd8daefb13c909756d34fbb41dd9a
  • Vorgänger 89b95abb
  • Nachfolger 8a394412

Neues Design 2019 Standard-Code templates/webpages/taxzones/form.html

Unterschiede anzeigen:

templates/webpages/taxzones/form.html
7 7
<h1>[% HTML.escape(title) %]</h1>
8 8

  
9 9
<form action="controller.pl" method="post" id="form">
10
[%- L.hidden_tag("id", SELF.config.id) %]
10
[% L.hidden_tag("id", SELF.config.id) %]
11 11

  
12
<table>
13
  <tr>
14
    <th align="right">[% 'Description' | $T8 %]</th>
15
    <td>[%- L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
16
  </tr>
17
[%- FOREACH bg = BUCHUNGSGRUPPEN %]
18
  <tr>
19
    <th align="right">[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %]</th>
20
    [%- IF NOT SELF.config.id %]
21
    <td>[% P.chart.picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %]</td>
22
    [%- ELSIF SELF.config.id AND SELF.config.orphaned %]
23
    <td>[% P.chart.picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %]</td>
24
    [%- ELSE %]
25
    <td>[% CHARTLIST.${bg.id}.income_accno_description %]</td>
26
    [%- END %]
27
  </tr>
28
  <tr>
29
    <th align="right">[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %]</th>
30
    [%- IF NOT SELF.config.id %]
31
    <td>[% P.chart.picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %]</td>
32
    [%- ELSIF SELF.config.id AND SELF.config.orphaned %]
33
    <td>[% P.chart.picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %]</td>
34
    [%- ELSE %]
35
    <td>[% CHARTLIST.${bg.id}.expense_accno_description %]</td>
36
    [%- END %]
37
  </tr>
38
[%- END %]
12
<div class="wrapper">
13

  
14
<table class="tbl-horizontal">
15
  <tbody>
16
    <tr>
17
      <th>[% 'Description' | $T8 %]</th>
18
      <td>[% L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
19
    </tr>
20
    [% FOREACH bg = BUCHUNGSGRUPPEN %]
21
    <tr>
22
      <th>[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %]</th>
23
      [% IF NOT SELF.config.id %]
24
        <td>[% P.chart.picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', class='wi-wide') %]</td>
25
      [% ELSIF SELF.config.id AND SELF.config.orphaned %]
26
        <td>[% P.chart.picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', class='wi-wide') %]</td>
27
      [% ELSE %]
28
        <td>[% CHARTLIST.${bg.id}.income_accno_description %]</td>
29
      [% END %]
30
    </tr>
31
    <tr>
32
      <th>[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %]</th>
33
      [% IF NOT SELF.config.id %]
34
        <td>[% P.chart.picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', class='wi-wide') %]</td>
35
      [% ELSIF SELF.config.id AND SELF.config.orphaned %]
36
        <td>[% P.chart.picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', class='wi-wide') %]</td>
37
      [% ELSE %]
38
        <td>[% CHARTLIST.${bg.id}.expense_accno_description %]</td>
39
      [% END %]
40
    </tr>
41
    [% END %]
42
    <tr>
43
      <th><i>[% LxERP.t8('Obsolete') %]</i></th>
44
      <td>[% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]</td>
45
    </tr>
46
  </tbody>
39 47
</table>
40 48

  
41
[% LxERP.t8('Obsolete') %]: [% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]
49
</div><!-- /.wrapper -->
42 50
</form>

Auch abrufbar als: Unified diff