Revision 3ecc2de8
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
templates/webpages/order/form.html | ||
---|---|---|
1 |
<h1>[% FORM.title %] <span id='nr_in_title'>[%- SELF.order.number -%]</span></h1> |
|
2 | 1 |
[% USE T8 %] |
3 | 2 |
[% USE LxERP %] |
4 | 3 |
[% USE L %] |
5 | 4 |
[% USE HTML %] |
5 |
<h1>[% FORM.title %] <span id='nr_in_title'>[% SELF.order.number %]</span></h1> |
|
6 | 6 |
|
7 | 7 |
<div id="print_options" style="display:none"> |
8 | 8 |
<form method="post" action="controller.pl" id="print_options_form"> |
9 | 9 |
[% SELF.print_options %] |
10 | 10 |
<br> |
11 | 11 |
[% L.button_tag('kivi.Order.print()', LxERP.t8('Print')) %] |
12 |
<a href="#" onclick="$('#print_options').dialog('close');">[% LxERP.t8("Cancel") %]</a> |
|
12 |
<a href="#" onclick="$('#print_options').dialog('close');" class="button neutral">[% LxERP.t8("Cancel") %]</a>
|
|
13 | 13 |
</form> |
14 | 14 |
</div> |
15 | 15 |
|
... | ... | |
21 | 21 |
[% L.hidden_tag('id', SELF.order.id) %] |
22 | 22 |
[% L.hidden_tag('converted_from_oe_id', SELF.converted_from_oe_id) %] |
23 | 23 |
|
24 |
[%- INCLUDE 'common/flash.html' %] |
|
25 |
|
|
26 |
<div class="tabwidget" id="order_tabs"> |
|
27 |
<ul> |
|
28 |
<li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li> |
|
29 |
[%- IF INSTANCE_CONF.get_webdav %] |
|
30 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
31 |
[%- END %] |
|
32 |
[%- IF SELF.order.id AND INSTANCE_CONF.get_doc_storage %] |
|
33 |
<li><a href="controller.pl?action=File/list&file_type=document&object_type=[% HTML.escape(FORM.type) %]&object_id=[% HTML.url(SELF.order.id) %]">[% 'Documents' | $T8 %]</a></li> |
|
34 |
<li><a href="controller.pl?action=File/list&file_type=attachment&object_type=[% HTML.escape(FORM.type) %]&object_id=[% HTML.url(SELF.order.id) %]">[% 'Attachments' | $T8 %]</a></li> |
|
35 |
[%- END %] |
|
36 |
[%- IF SELF.order.id %] |
|
37 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Order&object_id=[% HTML.url(SELF.order.id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
38 |
[%- END %] |
|
39 |
</ul> |
|
40 |
|
|
41 |
[% PROCESS "order/tabs/basic_data.html" %] |
|
42 |
[% PROCESS 'webdav/_list.html' %] |
|
43 |
<div id="ui-tabs-1"> |
|
44 |
[%- LxERP.t8("Loading...") %] |
|
45 |
</div> |
|
46 |
|
|
47 |
<div id="shipto_inputs" class="hidden"> |
|
48 |
[%- PROCESS 'common/_ship_to_dialog.html' |
|
49 |
vc_obj=SELF.order.customervendor |
|
50 |
cs_obj=SELF.order.custom_shipto |
|
51 |
cvars=SELF.order.custom_shipto.cvars_by_config |
|
52 |
id_selector='#order_shipto_id' %] |
|
53 |
</div> |
|
54 |
|
|
55 |
</div> |
|
24 |
[% INCLUDE 'common/flash.html' %] |
|
25 |
|
|
26 |
<div class="tabwidget" id="order_tabs"> |
|
27 |
|
|
28 |
<ul> |
|
29 |
<li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li> |
|
30 |
[% IF INSTANCE_CONF.get_webdav %] |
|
31 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
32 |
[% END %] |
|
33 |
[% IF SELF.order.id AND INSTANCE_CONF.get_doc_storage %] |
|
34 |
<li><a href="controller.pl?action=File/list&file_type=document&object_type=[% HTML.escape(FORM.type) %]&object_id=[% HTML.url(SELF.order.id) %]">[% 'Documents' | $T8 %]</a></li> |
|
35 |
<li><a href="controller.pl?action=File/list&file_type=attachment&object_type=[% HTML.escape(FORM.type) %]&object_id=[% HTML.url(SELF.order.id) %]">[% 'Attachments' | $T8 %]</a></li> |
|
36 |
[% END %] |
|
37 |
[% IF SELF.order.id %] |
|
38 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Order&object_id=[% HTML.url(SELF.order.id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
39 |
[% END %] |
|
40 |
</ul> |
|
41 |
|
|
42 |
[% PROCESS "order/tabs/basic_data.html" %] |
|
43 |
[% PROCESS 'webdav/_list.html' %] |
|
44 |
<div id="ui-tabs-1"> |
|
45 |
[% LxERP.t8("Loading...") %] |
|
46 |
</div> |
|
47 |
|
|
48 |
<div id="shipto_inputs" class="hidden"> |
|
49 |
[%- PROCESS 'common/_ship_to_dialog.html' |
|
50 |
vc_obj=SELF.order.customervendor |
|
51 |
cs_obj=SELF.order.custom_shipto |
|
52 |
cvars=SELF.order.custom_shipto.cvars_by_config |
|
53 |
id_selector='#order_shipto_id' %] |
|
54 |
</div> |
|
56 | 55 |
|
56 |
</div><!-- /.tabwidget --> |
|
57 | 57 |
</form> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/order/form.html