Revision 2dcf4554
Von Moritz Bunkus vor mehr als 7 Jahren hinzugefügt
templates/webpages/ap/form_header.html | ||
---|---|---|
5 | 5 |
|
6 | 6 |
<form method="post" action="[% script | html %]"> |
7 | 7 |
|
8 |
<input type="hidden" name="selectvendor" value="[% selectvendor | html %]"> |
|
9 |
|
|
10 |
<input type="hidden" name="oldvendor" value="[% oldvendor | html %]"> |
|
11 |
<input type="hidden" name="vendor_id" value="[% vendor_id | html %]"> |
|
12 | 8 |
<input type="hidden" name="terms" value="[% terms | html %]"> |
13 | 9 |
|
14 | 10 |
<input type="hidden" name="creditlimit" value="[% creditlimit | html %]"> |
... | ... | |
80 | 76 |
<tr> |
81 | 77 |
<th align="right" nowrap>[% 'Vendor' | $T8 %]</th> |
82 | 78 |
<td colspan="3"> |
83 |
[% IF ( selectvendor ) %] |
|
84 |
<select name="vendor" onchange="document.getElementById('update_button').click();"[% IF initial_focus == 'vendor' %] class="initial_focus"[% END %]>[% selectvendor %]</select> |
|
85 |
[% ELSE %] |
|
86 |
<input name=vendor value="[% vendor | html %]" size="35"[% IF initial_focus == 'vendor' %] class="initial_focus"[% END %]> |
|
87 |
[% END %] |
|
88 |
<input type="button" value="D" onclick="show_vc_details('vendor')"> |
|
79 |
[% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px") %] |
|
80 |
[% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] |
|
81 |
[% L.hidden_tag("previous_vendor_id", vendor_id) %] |
|
89 | 82 |
</td> |
90 | 83 |
</tr> |
91 | 84 |
|
Auch abrufbar als: Unified diff
Kreditorenbuchungen: Kundenauswahl über Picker