projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kivitendo-CSS: auskommentierten Inhalt entfernt
[kivitendo-erp.git]
/
templates
/
webpages
/
generic
/
calculate_qty.html
diff --git
a/templates/webpages/generic/calculate_qty.html
b/templates/webpages/generic/calculate_qty.html
index
97e9e42
..
110ed41
100644
(file)
--- a/
templates/webpages/generic/calculate_qty.html
+++ b/
templates/webpages/generic/calculate_qty.html
@@
-1,16
+1,13
@@
[%- USE T8 %]
[%- USE HTML %]
[%- USE T8 %]
[%- USE HTML %]
+<h1>[% title %]</h1>
+
<form name="Form">
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]">
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]">
<table width="100%">
<form name="Form">
<input type="hidden" name="input_name" value="[% HTML.escape(input_name) %]">
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]">
<table width="100%">
- <tr>
- <th class="listtop">[% title %]</th>
- </tr>
- <tr height="5"></tr>
-
<tr><td>[% 'Please insert object dimensions below.' | $T8 %]</td></tr>
<tr>
<tr><td>[% 'Please insert object dimensions below.' | $T8 %]</td></tr>
<tr>
@@
-40,10
+37,10
@@
<script type="text/javascript">
function calculate_qty() {
[%- FOREACH row = VARIABLES %]
<script type="text/javascript">
function calculate_qty() {
[%- FOREACH row = VARIABLES %]
- var [% row.name %] = parse_amount('[%
myconfig
.numberformat %]', document.getElementsByName("[% row.name %]")[0].value);
+ var [% row.name %] = parse_amount('[%
MYCONFIG
.numberformat %]', document.getElementsByName("[% row.name %]")[0].value);
[%- END %]
var result = [% formel %];
[%- END %]
var result = [% formel %];
- result = number_format(result, 2, '[%
myconfig
.numberformat %]');
+ result = number_format(result, 2, '[%
MYCONFIG
.numberformat %]');
window.opener.document.getElementsByName(document.Form.input_name.value)[0].value = result;
self.close();
}
window.opener.document.getElementsByName(document.Form.input_name.value)[0].value = result;
self.close();
}