Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3df9de88

Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt

  • ID 3df9de881a6c5d510f46094acef941e8de06d856
  • Vorgänger 352d3f64
  • Nachfolger bf0ba467

Neues Design 2019 Standard-Code templates/webpages/ir/

Unterschiede anzeigen:

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

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

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

  
97
        <tr>
98
         <th align="right">[% 'Total' | $T8 %]</th>
99
         <td align="right">[% LxERP.format_amount(invtotal, 2) %]</td>
100
        </tr>
101
       </table>
102
      </td>
103
     </tr>
104
    </table>
105
   </td>
106
  </tr>
107 1
[% USE T8 %]
108 2
[% USE HTML %]
109 3
[% USE LxERP %]
......
111 5
[% USE P %]
112 6

  
113 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

  
62

  
114 63
[% PROCESS 'ir/_payments.html' %]
115 64

  
116
 </table>
117 65
</div>
66

  
118 67
[% PROCESS 'webdav/_list.html' %]
119 68
<div id="ui-tabs-1">
120
 [%- LxERP.t8("Loading...") %]
69
  [% LxERP.t8("Loading...") %]
121 70
</div>
122 71
</div>
123 72

  
124
<hr size="3" noshade>
73

  
125 74

  
126 75
<p>[% print_options %]</p>
127 76

  

Auch abrufbar als: Unified diff