Revision faf31da3
Von Bernd Bleßmann vor mehr als 6 Jahren hinzugefügt
js/kivi.Order.js | ||
---|---|---|
150 | 150 |
email_dialog.dialog("close"); |
151 | 151 |
}; |
152 | 152 |
|
153 |
ns.set_number_in_title = function(elt) { |
|
154 |
$('#nr_in_title').html($(elt).val()); |
|
155 |
}; |
|
156 |
|
|
153 | 157 |
ns.reload_cv_dependant_selections = function() { |
154 | 158 |
var data = $('#order_form').serializeArray(); |
155 | 159 |
data.push({ name: 'action', value: 'Order/customer_vendor_changed' }); |
templates/webpages/order/form.html | ||
---|---|---|
2 | 2 |
[%- USE LxERP %] |
3 | 3 |
[%- USE L %] |
4 | 4 |
[%- USE HTML %] |
5 |
<h1>[% FORM.title %]</h1> |
|
5 |
<h1>[% FORM.title %] <span id='nr_in_title'>[%- SELF.order.number -%]</span></h1>
|
|
6 | 6 |
|
7 | 7 |
<div id="print_options" style="display:none"> |
8 | 8 |
<form method="post" action="controller.pl" id="print_options_form"> |
templates/webpages/order/tabs/basic_data.html | ||
---|---|---|
111 | 111 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
112 | 112 |
<tr> |
113 | 113 |
<th width="70%" align="right" nowrap>[% 'Order Number' | $T8 %]</th> |
114 |
<td>[% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11) %]</td> |
|
114 |
<td>[% L.input_tag('order.ordnumber', SELF.order.ordnumber, size = 11, onchange='kivi.Order.set_number_in_title(this)') %]</td>
|
|
115 | 115 |
</tr> |
116 | 116 |
[%- END -%] |
117 | 117 |
|
... | ... | |
122 | 122 |
[%- END -%] |
123 | 123 |
<tr> |
124 | 124 |
<th width="70%" align="right" nowrap>[% quo_nr_txt | $T8 %]</th> |
125 |
<td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11) %]</td> |
|
125 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
|
126 |
<td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11) %]</td> |
|
127 |
[%- ELSE -%] |
|
128 |
<td>[% L.input_tag('order.quonumber', SELF.order.quonumber, size = 11, onchange='kivi.Order.set_number_in_title(this)') %]</td> |
|
129 |
[%- END -%] |
|
126 | 130 |
</tr> |
127 | 131 |
|
128 | 132 |
[%- IF (SELF.type == "sales_order" || SELF.type == "purchase_order") -%] |
Auch abrufbar als: Unified diff
Auftrags-Controller: Belegnummer in Titlezeile anzeigen