<tr>
<th align="right">[% 'Transaction description' | $T8 %]</th>
<td>[% L.input_tag("transaction_description", "", style=style) %]</td>
-
<th align="right">[% 'Part Description' | $T8 %]</th>
<td>[% L.input_tag("parts_description", "", style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Project' | $T8 %]</th>
- <td>[% P.project_picker("project_id", '', style=style) %]</td>
-
+ <td>[% P.project.picker("project_id", '', active="both", valid="both", style=style) %]</td>
<th align="right">[% 'Part Number' | $T8 %]</th>
<td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
</tr>
</td>
</tr>
[%- END %]
+ <tr>
+ <th align="right">[% 'Internal Notes' | $T8 %]</th>
+ <td>[% L.input_tag('intnotes', '', style=style) %]</td>
+ </tr>
+ <tr>
+ <th align="right">[% 'Phone Notes' | $T8 %]</th>
+ <td>[% L.input_tag('phone_notes', '', style=style) %]</td>
+ </tr>
+ [%- IF type == 'sales_order' %]
+ <tr>
+ <th align="right">[% 'Full Text' | $T8 %]</th>
+ <td>[% L.input_tag('fulltext', '', style=style) %]</td>
+ </tr>
+ [%- END %]
<tr>
<th align="right">[% IF is_order %][% 'Order Date' | $T8 %][% ELSE %][% 'Quotation Date' | $T8 %][% END %] [% 'From' | $T8 %]</th>
<td>
<tr>
<th align="right">[% 'Expected billing date' | $T8 %] [% 'From' | $T8 %]</th>
<td>
- [% L.date_tag('expected_billing_date_from', '' 'BL') %]
+ [% L.date_tag('expected_billing_date_from', '') %]
[% 'Bis' | $T8 %]
- [% L.date_tag('expected_billing_date_to', '' 'BL') %]
+ [% L.date_tag('expected_billing_date_to', '') %]
</td>
</tr>
<tr>
[%- IF CT_CUSTOM_VARIABLES.size %]
<tr>
<td></td>
- <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
+ <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</b></td>
</tr>
[% CT_CUSTOM_VARIABLES_FILTER_CODE %]
[%- END %]
<tr>
<td>
<input name="l_name" id="l_name" class="checkbox" type="checkbox" value="Y" checked>
- <label for="l_name">[% HTML.escape(vclabel) %]
+ <label for="l_name">[% HTML.escape(vclabel) %]</label>
</td>
<td>
<input name="l_employee" id="l_employee" class="checkbox" type="checkbox" value="Y" checked>
<input name="l_transaction_description" id="l_transaction_description" class="checkbox" type="checkbox" value="Y"[% IF INSTANCE_CONF.get_require_transaction_description_ps %] checked[% END %]>
<label for="l_transaction_description">[% 'Transaction description' | $T8 %]</label>
</td>
+ <td>
+ [%- L.checkbox_tag('l_department', label => LxERP.t8('Department')) %]
+ </td>
+
</tr>
<tr>
<td>
<input name="l_salesman" id="l_salesman" class="checkbox" type="checkbox" value="Y">
<label for="l_salesman">[% 'Salesman' | $T8 %]</label>
</td>
+ <td>
+ <input name="l_intnotes" id="l_intnotes" class="checkbox" type="checkbox" value="Y">
+ <label for="l_intnotes">[% 'Internal Notes' | $T8 %]</label>
+ </td>
</tr>
[% IF type == 'sales_quotation' %]
<tr>
</td>
</tr>
<tr>
- <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</td>
+ <td colspan=4 align=left><b>[% HTML.escape(vclabel) %]</b></td>
</tr>
<tr>
<td>