Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 77f7372c

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 77f7372ce9c1338e80f3922023ab7d77edf84cc5
  • Vorgänger abdd2e61
  • Nachfolger 489e85ab

Neues kivitendo Design restliche Aenderungen in templates/webpages/i*

Dateien ic/* io/* ir/* is/*

Unterschiede anzeigen:

templates/webpages/ir/form_footer.html
1
[%- USE T8 %]
2
[%- USE HTML %]
3
[%- USE LxERP %]
4
[%- USE L %][%- USE P -%]
5
  <tr>
6
   <td>
7
    <table width="100%">
8
     <tr valign="bottom">
9
      <td>
10
       <table>
11
        <tr>
12
         <th align="left">[% 'Notes' | $T8 %]</th>
13
         <th align="left">[% 'Internal Notes' | $T8 %]</th>
14
         <th align="right">[% 'Payment / Delivery Options' | $T8 %]</th>
15
        </tr>
16
        <tr valign="top">
17
         <td>
18
          [% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
19
         </td>
20
         <td>
21
          <textarea name="intnotes" rows="[% rows %]" cols="35" wrap="soft">[% intnotes %]</textarea>
22
         </td>
23
         <td>
24
           <table>
25
             <tr>
26
               <th align="right">[% 'Delivery Terms' | $T8 %] </th>
27
               <td>
28
                 [% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description', style = 'width: 250px') %]
29
               </td>
30
             </tr>
31
             <tr>
32
               <th align="right">[% 'direct debit' | $T8 %]</th>
33
               <td>
34
                 [%- L.checkbox_tag('direct_debit', 'checked', direct_debit) %]
35
               </td>
36
             </tr>
37
           </table>
38
         </td>
39
        </tr>
40
[%- IF id && follow_ups.size %]
41
        <tr>
42
          <td colspan="2">
43
            [%- LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size, follow_ups_unfinished) | html %]
44
          <td>
45
        </tr>
46
[%- END %]
47
       </table>
48
      </td>
49
[%- IF show_weight %]
50
      <td>
51
       <table>
52
        <tr>
53
         <th  align=left>[% 'Total weight' | $T8 %]</th>
54
         <td>
55
          [% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]
56
         </td>
57
        </tr>
58
       </table>
59
      </td>
60
[%- END %]
61
      <td align="right">
62
  [%- IF taxaccounts %]
63
       <input name="taxincluded" class="checkbox" type="checkbox" [% IF taxincluded %]checked[% END %]>
64
       <b>[% 'Tax Included' | $T8 %]</b>
65
       <br>
66
       <br>
67
  [%- END %]
68
       <table>
69

  
70
[%- UNLESS taxincluded %]
71
        <tr>
72
         <th align="right">[% 'Subtotal' | $T8 %]</th>
73
         <td align="right">[% LxERP.format_amount(invsubtotal, 2) %]</td>
74
       </tr>
75
[%- END %]
76

  
77
[%# tax %]
78
[% FOREACH item = taxaccounts_array %]
79
[% SET description_ref = item _ '_description' %]
80
[% SET rate_ref        = item _ '_rate' %]
81
[% SET total_ref       = item _ '_total' %]
82
[% SET netto_ref       = item _ '_netto' %]
83
       <tr>
84
        <th align="right">[% 'Including' | $T8 %] [% $description_ref | html %]&nbsp;[% $rate_ref * 100 %]%</th>
85
        <td align="right">[% LxERP.format_amount($total_ref, 2) %]</td>
86
       </tr>
87
  [%- IF taxincluded %]
88
       <tr>
89
        <th align="right">[% 'Net amount' | $T8 %]</th>
90
        <td align="right">[% LxERP.format_amount($netto_ref, 2) %]</td>
91
       </tr>
92
  [%- END %]
93
[%- END %]
94

  
95
        <tr>
96
         <th align="right">[% 'Total' | $T8 %]</th>
97
         <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
98
        </tr>
99
       </table>
100
      </td>
101
     </tr>
102
    </table>
103
   </td>
104
  </tr>
1
[% USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
[% USE L %]
5
[% USE P %]
6

  
7

  
8
<div class="list-total">
9

  
10
<table class="tbl-list footer-only right">
11
  <colgroup> <col class="wi-small"><col class="wi-small"><col class="wi-small"><col class="wi-small"><col class="wi-small"> </colgroup>
12
  <tfoot>
13
    [% UNLESS taxincluded %]
14
    <tr>
15
      <th colspan="3"></th>
16
      <th>[% 'Subtotal' | $T8 %]</th>
17
      <td class="numeric">[% LxERP.format_amount(invsubtotal, 2) %]</td>
18
    </tr>
19
    [% END %][% # tax %]
20

  
21
    [% FOREACH item = taxaccounts_array %]
22
      [% SET description_ref = item _ '_description' %]
23
      [% SET rate_ref        = item _ '_rate' %]
24
      [% SET total_ref       = item _ '_total' %]
25
      [% SET netto_ref       = item _ '_netto' %]
26
      <tr>
27
        <th colspan="3"></th>
28
        <th>[% 'Including' | $T8 %] [% $description_ref | html %]&nbsp;[% $rate_ref * 100 %]%</th>
29
        <td class="numeric">[% LxERP.format_amount($total_ref, 2) %]</td>
30
      </tr>
31
      [% IF taxincluded %]
32
      <tr>
33
        <th colspan="3"></th>
34
        <th>[% 'Net amount' | $T8 %]</th>
35
        <td class="numeric">[% LxERP.format_amount($netto_ref, 2) %]</td>
36
      </tr>
37
      [% END %]
38
    [% END %]
39

  
40
    <tr>
41
      [% IF show_weight %]
42
        <th>[% 'Total weight' | $T8 %]</th>
43
        <td class="numeric">[% LxERP.format_amount(totalweight) %] [% HTML.escape(weightunit) %]</td>
44
        <th></th>
45
      [% ELSE %]
46
        <th colspan="3"></th>
47
      [% END %]
48
      <th>[% 'Total' | $T8 %]</th>
49
      <td class="numeric">[% LxERP.format_amount(invtotal, 2) %]</td>
50
    </tr>
51
  </tfoot>
52
</table>
53

  
54
[% IF taxaccounts %]
55
<div class="after-item"><input name="taxincluded" type="checkbox"[% IF taxincluded %] checked[% END %]> [% 'Tax Included' | $T8 %]</div>
56
[% END %]
57

  
58
</div><!-- /.list-total -->
59
</div><!-- /.list-table-with-separate-total-table -->
60

  
61

  
105 62

  
106 63
[% PROCESS 'ir/_payments.html' %]
107 64

  
108
 </table>
109 65
</div>
66

  
110 67
[% PROCESS 'webdav/_list.html' %]
111 68
<div id="ui-tabs-1">
112
 [%- LxERP.t8("Loading...") %]
69
  [% LxERP.t8("Loading...") %]
113 70
</div>
114 71
</div>
115 72

  
116
<hr size="3" noshade>
73

  
117 74

  
118 75
<p>[% print_options %]</p>
119 76

  

Auch abrufbar als: Unified diff