Revision 8c771308
Von Hans P. Schlaepfer vor mehr als 3 Jahren hinzugefügt
templates/webpages/do/form_footer.html | ||
---|---|---|
1 |
[%- IF delivered %] |
|
2 |
[%- SET RO = ' readonly' %] |
|
3 |
[%- END %] |
|
4 | 1 |
[% USE T8 %] |
5 | 2 |
[% USE HTML %] |
6 | 3 |
[% USE LxERP %] |
7 | 4 |
[% USE L %] |
8 | 5 |
[% USE P %] |
9 | 6 |
|
7 |
[% IF show_weight %] |
|
8 |
<table class="tbl-horizontal"> |
|
9 |
<tbody> |
|
10 | 10 |
<tr> |
11 |
<td>
|
|
12 |
<table>
|
|
13 |
<tr valign="bottom">
|
|
14 |
<th align="left">[% 'Notes' | $T8 %]</th>
|
|
15 |
<th align="left">[% 'Internal Notes' | $T8 %]</th>
|
|
16 |
</tr>
|
|
11 |
<th>[% 'Total weight' | $T8 %]</th>
|
|
12 |
<td>[% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %]</td>
|
|
13 |
</tr>
|
|
14 |
</tbody>
|
|
15 |
</table>
|
|
16 |
[% END %]
|
|
17 | 17 |
|
18 |
<tr valign="top"> |
|
19 |
<td> |
|
20 |
[% IF delivered %] |
|
21 |
[% L.hidden_tag("notes", notes) %] |
|
22 |
<div style="width: 350px; height: 150px; border: 1px solid black">[% P.restricted_html(notes) %]</div> |
|
23 |
[% ELSE %] |
|
24 |
[% L.textarea_tag("notes", notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %] |
|
25 |
[% END %] |
|
26 |
</td> |
|
27 |
<td>[% L.textarea_tag("intnotes", intnotes, wrap="soft", style="width: 350px; height: 150px") %]</td> |
|
28 |
</tr> |
|
18 |
</div> |
|
29 | 19 |
|
30 |
<tr> |
|
31 |
<th align="right">[% 'Delivery Terms' | $T8 %]</th> |
|
32 |
<td>[% L.select_tag('delivery_term_id', ALL_DELIVERY_TERMS, default = delivery_term_id, with_empty = 1, title_key = 'description') %]</td> |
|
33 |
</tr> |
|
34 |
</table> |
|
35 | 20 |
|
36 |
</td> |
|
37 |
</tr> |
|
38 |
[%- IF show_weight %] |
|
39 |
<tr> |
|
40 |
<td> |
|
41 |
<table width="100%"> |
|
42 |
<tr valign="bottom"> |
|
43 |
<td align="right"> |
|
44 |
<table> |
|
45 |
<tr> |
|
46 |
<th align="left">[% 'Total weight' | $T8 %]</th> |
|
47 |
<td align="right"> |
|
48 |
[% LxERP.format_amount(totalweight, 3) %] [% HTML.escape(weightunit) %] |
|
49 |
</td> |
|
50 |
</tr> |
|
51 |
</table> |
|
52 |
</td> |
|
53 |
</tr> |
|
54 |
</table> |
|
55 |
</td> |
|
56 |
</tr> |
|
57 |
[%- END %] |
|
58 |
</table> |
|
59 |
</p> |
|
60 | 21 |
|
61 |
</div> |
|
62 | 22 |
[% PROCESS 'webdav/_list.html' %] |
63 | 23 |
<div id="ui-tabs-1"> |
64 |
[%- LxERP.t8("Loading...") %]
|
|
24 |
[% LxERP.t8("Loading...") %] |
|
65 | 25 |
</div> |
66 | 26 |
</div> |
67 | 27 |
|
68 |
<input type="hidden" id="rowcount" name="rowcount" value="[% HTML.escape(rowcount) %]">
|
|
69 |
<input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
|
|
28 |
<input type="hidden" name="rowcount" value="[% HTML.escape(rowcount) %]">
|
|
29 |
<input name="callback" type="hidden" value="[% HTML.escape(callback) %]"> |
|
70 | 30 |
|
71 |
[%- IF !delivered %]
|
|
31 |
[% IF !delivered %]
|
|
72 | 32 |
<div id="shipto_inputs" class="hidden"> |
73 |
[%- PROCESS 'common/_ship_to_dialog.html' vc_obj=VC_OBJ cvars=shipto_cvars %]
|
|
33 |
[% PROCESS 'common/_ship_to_dialog.html' vc_obj=VC_OBJ cvars=shipto_cvars %]
|
|
74 | 34 |
</div> |
75 |
[%- END %]
|
|
35 |
[% END %]
|
|
76 | 36 |
|
77 |
<div id="email_inputs" class="hidden"></div> |
|
37 |
<div id="email_inputs" class="hidden"></div> |
|
38 |
|
|
39 |
<div id="print_options" class="hidden"> |
|
40 |
[% PRINT_OPTIONS %] |
|
41 |
</div> |
|
42 |
</form> |
|
78 | 43 |
|
79 |
<div id="print_options" class="hidden"> |
|
80 |
[% PRINT_OPTIONS %] |
|
81 |
</div> |
|
82 |
</form> |
|
83 | 44 |
<script type='text/javascript'> |
84 | 45 |
$(kivi.SalesPurchase.init_on_submit_checks); |
85 | 46 |
</script> |
86 | 47 |
|
87 |
[%- IF !delivered %] |
|
88 |
<div id="shipto_dialog" class="hidden"></div> |
|
89 |
[%- END %] |
|
48 |
[% IF !delivered %] |
|
49 |
<div id="shipto_dialog" class="hidden"></div> |
|
50 |
[% END %] |
|
51 |
|
|
90 | 52 |
<div id="print_dialog" class="hidden"> |
91 |
[%- PROCESS 'common/_print_dialog.html' %]
|
|
53 |
[% PROCESS 'common/_print_dialog.html' %]
|
|
92 | 54 |
</div> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/do/form_*