Revision b94feafc
Von Sven Schöling vor etwa 9 Jahren hinzugefügt
templates/webpages/generic/calculate_qty.html | ||
---|---|---|
37 | 37 |
<script type="text/javascript"> |
38 | 38 |
function calculate_qty() { |
39 | 39 |
[%- FOREACH row = VARIABLES %] |
40 |
var [% row.name %] = parse_amount('[% myconfig.numberformat %]', document.getElementsByName("[% row.name %]")[0].value);
|
|
40 |
var [% row.name %] = parse_amount('[% MYCONFIG.numberformat %]', document.getElementsByName("[% row.name %]")[0].value);
|
|
41 | 41 |
[%- END %] |
42 | 42 |
var result = [% formel %]; |
43 |
result = number_format(result, 2, '[% myconfig.numberformat %]');
|
|
43 |
result = number_format(result, 2, '[% MYCONFIG.numberformat %]');
|
|
44 | 44 |
window.opener.document.getElementsByName(document.Form.input_name.value)[0].value = result; |
45 | 45 |
self.close(); |
46 | 46 |
} |
Auch abrufbar als: Unified diff
templates: myconfig. -> MYCONFIG.