| [% 'Vendor' | $T8 %] |
- [% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus") %]
+ [% P.customer_vendor.picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %]
[% P.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %]
[% P.hidden_tag("previous_vendor_id", vendor_id) %]
|
@@ -135,20 +139,9 @@
[% 'Employee' | $T8 %] |
[% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %] |
-
-[%- IF is_type_credit_note %]
-
| [% 'Project Number' | $T8 %] |
- [% P.project_picker('globalproject_id', globalproject_id) %] |
+ [%- L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %] |