[%- USE HTML %]
[%- USE LxERP %]
[%- USE L %]
-<body onLoad="[% onload %]">
<form method="post" name="oe" action="[% script %]">
<h1>[% title %]</h1>
[%- INCLUDE 'common/flash.html' %]
+[%- INCLUDE 'generic/set_longdescription.html' %]
+
+ <div id="oe_tabs" class="tabwidget">
+ <ul>
+ <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
+[%- IF INSTANCE_CONF.get_webdav %]
+ <li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li>
+[%- END %]
+[%- IF id %]
+ <li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Order&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li>
+[%- END %]
+ </ul>
+
+ <div id="ui-tabs-basic-data">
<table width="100%">
<tr>
[%- INCLUDE 'generic/multibox.html'
name = vc,
style = 'width: 250px',
+ class = 'initial_focus',
DATA = vc == 'customer' ? ALL_CUSTOMERS : ALL_VENDORS,
id_sub = 'vc_keys',
label_key = 'name',
</tr>
<tr>
<th align="right">[% 'Transaction description' | $T8 %]</th>
- <td colspan="3"><input name="transaction_description" size="35" value="[% HTML.escape(transaction_description) %]"></td>
+ <td colspan="3"><input name="transaction_description" id="transaction_description" size="35" value="[% HTML.escape(transaction_description) %]"></td>
</tr>
[%- IF show_delivery_customer %]
<tr>
[%- END %]
</th>
<td nowrap>
- [% L.date_tag('transdate', transdate) %]
+ [% L.date_tag('transdate', transdate, id='transdate') %]
</td>
</tr>
<tr>
[%- IF is_sales_quo %]
[% 'Valid until' | $T8 %]
[%- ELSE %]
- [% 'Required by' | $T8 %]
+ [% 'Reqdate' | $T8 %]
[%- END %]
</th>
<td nowrap>
- [% L.date_tag('reqdate', reqdate) %]
+ [% L.date_tag('reqdate', reqdate, id='reqdate') %]
</td>
</tr>
<tr>
[%- L.select_tag('globalproject_id', ALL_PROJECTS, title_key='projectnumber', default=globalproject_id, with_empty='1', onChange="document.getElementById('update_button').click();") %]
</td>
</tr>
+[%- IF type == 'sales_quotation' %]
+ <tr>
+ <th width="70%" align="right" nowrap>[% 'Order probability' | $T8 %]</th>
+ <td nowrap>
+ [%- L.select_tag('order_probability', ORDER_PROBABILITIES, title='title', default=order_probability) %]%
+ </td>
+ </tr>
+ <tr>
+ <th width="70%" align="right" nowrap>[% 'Expected billing date' | $T8 %]</th>
+ <td nowrap>
+ [%- L.date_tag('expected_billing_date', expected_billing_date 'BL') %]
+ </td>
+ </tr>
+[%- END %]
</table>
</td>
</tr>