[%- USE T8 %]
[%- USE LxERP %]
[%- USE L %]
+<h1>[% HTML.escape(title) %]</h1>
+
[%- SET vclabel = vc == 'customer' ? LxERP.t8('Customer') : LxERP.t8('Vendor') %]
[%- SET vcnumberlabel = vc == 'customer' ? LxERP.t8('Customer Number') : LxERP.t8('Vendor Number') %]
[%- SET vctypelabel = vc == 'customer' ? LxERP.t8('Customer type') : LxERP.t8('Vendor type') %]
<form method="post" action="oe.pl">
- <p><div class="listtop">[% HTML.escape(title) %]</div></p>
-
<table width="100%">
<tr>
<td>
-%]
</td>
</tr>
+ <tr>
+ <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
+ <td colspan="3">[% L.input_tag("cp_name", '', style="width: 250px") %]</td>
+ </tr>
[%- IF ALL_DEPARTMENTS.size %]
<tr>
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
[% L.date_tag('reqdateto') %]
</td>
</tr>
+
+ [%- IF type == 'sales_order' %]
+ <tr>
+ <th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
+ <td>
+ [% L.date_tag('insertdatefrom') %]
+ </td>
+ <th align="right">[% 'Bis' | $T8 %]</th>
+ <td>
+ [% L.date_tag('insertdateto') %]
+ </td>
+ </tr>
+ [%- END %]
+
+[%- IF type == 'sales_quotation' %]
+ <tr>
+ <th align="right">[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
+ <td>
+ [% L.date_tag('expected_billing_date_from', '' 'BL') %]
+ </td>
+ <th align="right">[% 'Expected billing date' | $T8 %] [% 'Bis' | $T8 %]</th>
+ <td>
+ [% L.date_tag('expected_billing_date_to', '' 'BL') %]
+ </td>
+ </tr>
+ <tr>
+ <th align="right">[% 'Order probability' | $T8 %]</th>
+ <td colspan="3">
+ [% L.select_tag('order_probability_op', [[ 'ge', '>=' ], [ 'le', '<=' ]]) %]
+ [% L.select_tag('order_probability_value', ORDER_PROBABILITIES, title='title', with_empty=1) %]
+ </td>
+ </tr>
+[%- END %]
+
+[%- IF CT_CUSTOM_VARIABLES.size %]
+ <tr>
+ <td></td>
+ <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
+ </tr>
+ [% CT_CUSTOM_VARIABLES_FILTER_CODE %]
+[%- END %]
+
<tr>
<th align="right">[% 'Include in Report' | $T8 %]</th>
<td colspan="5">
</td>
<td>
<input name="delivered" id="delivered" class="checkbox" type="checkbox" value="1" checked>
- <label for="delivered">[% 'Delivery Order created' | $T8 %]</label>
+ <label for="delivered">[% 'Delivery Order(s) for full qty created' | $T8 %]</label>
</td>
</tr>
[%- END %]
<input name="l_reqdate" id="l_reqdate" class="checkbox" type="checkbox" value="Y" checked>
<label for="l_reqdate">[% IF is_order %][% 'Required by' | $T8 %][% ELSE %][% 'Valid until' | $T8 %][% END %]</label>
</td>
+ [%- IF type == 'sales_order' %]
+ <td>
+ <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
+ <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
+ </td>
+ [%- END %]
</tr>
<tr>
<td>
<label for="l_salesman">[% 'Salesman' | $T8 %]</label>
</td>
</tr>
+[% IF type == 'sales_quotation' %]
+ <tr>
+ <td colspan="2">
+ <input name="l_order_probability_expected_billing_date" id="l_order_probability_expected_billing_date" class="checkbox" type="checkbox" value="Y">
+ <label for="l_order_probability_expected_billing_date">[% 'Order probability & expected billing date' | $T8 %]</label>
+ </td>
+ </tr>
+[%- END %]
<tr>
<td>
<input name="l_remaining_amount" id="l_remaining_amount" class="checkbox" type="checkbox" value="Y">
<label for="l_ustid">[% 'USt-IdNr.' | $T8 %]</label>
</td>
</tr>
+
+ [% CT_CUSTOM_VARIABLES_INCLUSION_CODE %]
+
[%- IF type == 'sales_order' %]
<tr><td colspan="3"><hr></td></tr>
[%- END %]