Revision e6291b3a
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/do.pl | ||
---|---|---|
246 | 246 |
action => |
247 | 247 |
[ t8('Update'), |
248 | 248 |
submit => [ '#form', { action => "update" } ], |
249 |
id => 'update_button', |
|
249 | 250 |
accesskey => 'enter', |
250 | 251 |
], |
251 | 252 |
|
templates/webpages/ap/form_header.html | ||
---|---|---|
82 | 82 |
<tr> |
83 | 83 |
<th align="right" nowrap>[% 'Vendor' | $T8 %]</th> |
84 | 84 |
<td colspan="3"> |
85 |
[% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px") %] |
|
85 |
[% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 300px", onchange="\$('#update_button').click()") %]
|
|
86 | 86 |
[% L.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] |
87 | 87 |
[% L.hidden_tag("previous_vendor_id", vendor_id) %] |
88 | 88 |
</td> |
templates/webpages/ar/form_header.html | ||
---|---|---|
47 | 47 |
<tr> |
48 | 48 |
<th align="right" nowrap>[% 'Customer' | $T8 %]</th> |
49 | 49 |
<td colspan=3> |
50 |
[% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 300px", class=(initial_focus == 'customer_id' ? "initial_focus" : "")) %] |
|
50 |
[% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 300px", class=(initial_focus == 'customer_id' ? "initial_focus" : ""), onchange="\$('#update_button').click()") %]
|
|
51 | 51 |
[% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %] |
52 | 52 |
[% L.hidden_tag("previous_customer_id", customer_id) %] |
53 | 53 |
[% L.hidden_tag('terms', terms) %] |
templates/webpages/do/form_header.html | ||
---|---|---|
136 | 136 |
[% P.hidden_tag(vc_id, $vc_id) %] |
137 | 137 |
[% HTML.escape(VC_OBJ.name) %] |
138 | 138 |
[% ELSE %] |
139 |
[% P.customer_vendor_picker(vc_id, $vc_id, type=vc, class="fixed_width") %] |
|
139 |
[% P.customer_vendor_picker(vc_id, $vc_id, type=vc, class="fixed_width", onchange="\$('#update_button').click()") %]
|
|
140 | 140 |
[% END %] |
141 | 141 |
[% P.hidden_tag("previous_" _ vc_id, $vc_id) %] |
142 | 142 |
[% P.button_tag("show_vc_details('" _ HTML.escape(vc) _ "')", LxERP.t8("Details (one letter abbreviation)")) %] |
templates/webpages/ir/form_header.html | ||
---|---|---|
51 | 51 |
<tr> |
52 | 52 |
<th align="right">[% 'Vendor' | $T8 %]</th> |
53 | 53 |
<td> |
54 |
[% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus") %] |
|
54 |
[% P.customer_vendor_picker("vendor_id", vendor_id, type="vendor", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %]
|
|
55 | 55 |
[% P.button_tag("show_vc_details('vendor')", LxERP.t8('Details (one letter abbreviation)')) %] |
56 | 56 |
[% P.hidden_tag("previous_vendor_id", vendor_id) %] |
57 | 57 |
</td> |
templates/webpages/is/form_header.html | ||
---|---|---|
54 | 54 |
<tr> |
55 | 55 |
<th align="right">[% 'Customer' | $T8 %]</th> |
56 | 56 |
<td> |
57 |
[% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 250px", class="initial_focus") %] |
|
57 |
[% P.customer_vendor_picker("customer_id", customer_id, type="customer", style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %]
|
|
58 | 58 |
[% L.button_tag("show_vc_details('customer')", LxERP.t8('Details (one letter abbreviation)')) %] |
59 | 59 |
[% L.hidden_tag("previous_customer_id", customer_id) %] |
60 | 60 |
[% L.hidden_tag("customer_pricegroup_id", customer_pricegroup_id) %] |
templates/webpages/oe/form_header.html | ||
---|---|---|
60 | 60 |
<th align="right">[% IF vc == 'customer' %][% 'Customer' | $T8 %][% ELSE %][% 'Vendor' | $T8 %][% END %]</th> |
61 | 61 |
<td> |
62 | 62 |
[%- SET vc_id = vc _ "_id" %] |
63 |
[% P.customer_vendor_picker(vc_id, $vc_id, type=vc, style="width: 250px", class="initial_focus") %] |
|
63 |
[% P.customer_vendor_picker(vc_id, $vc_id, type=vc, style="width: 250px", class="initial_focus", onchange="\$('#update_button').click()") %]
|
|
64 | 64 |
[% P.button_tag("show_vc_details('" _ HTML.escape(vc) _ "')", LxERP.t8("Details (one letter abbreviation)")) %] |
65 | 65 |
[% P.hidden_tag("previous_" _ vc_id, $vc_id) %] |
66 | 66 |
</td> |
Auch abrufbar als: Unified diff
Ver-/Einkauf/Finanzbuchhaltung: automatisches Update nach Kunden-/Lieferantenwechsel