Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 31157ef9

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 31157ef998ed7bf55d1fca0d0a65d632c8d3c787
  • Vorgänger e47b2d70
  • Nachfolger 1dc2e239

Neues kivitendo Design restliche Aenderungen in templates/webpages/*

Dateien gobd/* order_items_search/* parts_price_history/* payment_term/*
presenter/* price_information/* taxzones/* todo/* vk/* webdav/*

Unterschiede anzeigen:

templates/webpages/taxzones/form.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%]<h1>[% HTML.escape(title) %]</h1>
2
[% SET style="width: 400px" %]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE L %]
4
[% USE P %]
5
[% USE T8 %]
6

  
7
<h1>[% HTML.escape(title) %]</h1>
3 8

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

  
12
<div class="wrapper">
6 13

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

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

Auch abrufbar als: Unified diff