[%- PROCESS 'common/flash.html' %]
+<div class="tabwidget">
+ <ul>
+ <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
+[%- IF conf_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=Invoice&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li>
+[%- END %]
+ </ul>
+
+<div id="ui-tabs-basic-data">
<table width="100%">
<tr>
<td valign="top">
</tr>
<tr>
<th align="right">[% 'Credit Note Date' | $T8 %]</th>
- <td>[% L.date_tag('invdate', invdate, cal_align='BL', onchange='set_duedate()') %]</td>
+ <td>[% L.date_tag('invdate', invdate, onchange='set_duedate()') %]</td>
</tr>
[%- ELSE %]
<tr>
</tr>
<tr>
<th align="right">[% 'Invoice Date' | $T8 %]</th>
- <td>[% L.date_tag('invdate', invdate, cal_align='BL', onchange='set_duedate()') %]</td>
+ <td>[% L.date_tag('invdate', invdate, onchange='set_duedate()') %]</td>
</tr>
<tr>
<th align="right">[% 'Due Date' | $T8 %]</th>
- <td>[% L.date_tag('duedate', duedate, cal_align='BL') %]</td>
+ <td>[% L.date_tag('duedate', duedate) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Delivery Order Number' | $T8 %]</th>
<td colspan="3"><input size='11' name="donumber" value="[% HTML.escape(donumber) %]"></td>
</tr>
+[%- END %]
<tr>
<th align="right">[% 'Delivery Date' | $T8 %]</th>
- <td>[% L.date_tag('deliverydate', deliverydate, cal_align='BL') %]</td>
+ <td>[% L.date_tag('deliverydate', deliverydate) %]</td>
</tr>
-[%- END %]
-
<tr>
<th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
<td colspan="3"><input size='11' name="ordnumber" value="[% HTML.escape(ordnumber) %]"></td>
</tr>
<tr>
<th align="right" nowrap>[% 'Order Date' | $T8 %]</th>
- <td>[% L.date_tag('orddate', orddate, cal_align='BL') %]</td>
+ <td>[% L.date_tag('orddate', orddate) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Quotation Number' | $T8 %]</th>
</tr>
<tr>
<th align="right" nowrap>[% 'Quotation Date' | $T8 %]</th>
- <td>[% L.date_tag('quodate', quodate, cal_align='BL') %]</td>
+ <td>[% L.date_tag('quodate', quodate) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Customer Order Number' | $T8 %]</th>