Revision e9c895f9
Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt
templates/webpages/order/form.html | ||
---|---|---|
1 |
[%- USE T8 %]
|
|
2 |
[%- USE LxERP %]
|
|
3 |
[%- USE L %]
|
|
4 |
[%- USE HTML %]
|
|
5 |
<h1>[% FORM.title %] <span id='nr_in_title'>[%- SELF.order.number -%]</span></h1>
|
|
1 |
[% USE T8 %] |
|
2 |
[% USE LxERP %] |
|
3 |
[% USE L %] |
|
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 |
|
... | ... | |
19 | 19 |
[% L.hidden_tag('id', SELF.order.id) %] |
20 | 20 |
[% L.hidden_tag('converted_from_oe_id', SELF.converted_from_oe_id) %] |
21 | 21 |
|
22 |
[%- INCLUDE 'common/flash.html' %]
|
|
22 |
[% INCLUDE 'common/flash.html' %] |
|
23 | 23 |
|
24 |
<div class="tabwidget" id="order_tabs"> |
|
25 |
<ul> |
|
26 |
<li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li> |
|
27 |
[%- IF INSTANCE_CONF.get_webdav %] |
|
28 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
29 |
[%- END %] |
|
30 |
[%- IF SELF.order.id AND INSTANCE_CONF.get_doc_storage %] |
|
31 |
<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> |
|
32 |
<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> |
|
33 |
[%- END %] |
|
34 |
[%- IF SELF.order.id %] |
|
35 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Order&object_id=[% HTML.url(SELF.order.id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
36 |
[%- END %] |
|
37 |
</ul> |
|
24 |
<div class="tabwidget" id="order_tabs"> |
|
38 | 25 |
|
39 |
[% PROCESS "order/tabs/basic_data.html" %] |
|
40 |
[% PROCESS 'webdav/_list.html' %] |
|
41 |
<div id="ui-tabs-1"> |
|
42 |
[%- LxERP.t8("Loading...") %] |
|
43 |
</div> |
|
44 |
</div> |
|
26 |
<ul> |
|
27 |
<li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li> |
|
28 |
[% IF INSTANCE_CONF.get_webdav %] |
|
29 |
<li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li> |
|
30 |
[% END %] |
|
31 |
[% IF SELF.order.id AND INSTANCE_CONF.get_doc_storage %] |
|
32 |
<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> |
|
33 |
<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> |
|
34 |
[% END %] |
|
35 |
[% IF SELF.order.id %] |
|
36 |
<li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Order&object_id=[% HTML.url(SELF.order.id) %]">[% 'Linked Records' | $T8 %]</a></li> |
|
37 |
[% END %] |
|
38 |
</ul> |
|
39 |
|
|
40 |
[% PROCESS "order/tabs/basic_data.html" %] |
|
41 |
[% PROCESS 'webdav/_list.html' %] |
|
42 |
<div id="ui-tabs-1"> |
|
43 |
[% LxERP.t8("Loading...") %] |
|
44 |
</div> |
|
45 |
|
|
46 |
</div><!-- /.tabwidget --> |
|
45 | 47 |
</form> |
Auch abrufbar als: Unified diff
Neues kivitendo Design Aenderungen in templates/webpages/order/..