Lines 167-173
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
167 |
[% IF ( op_save ) %] |
167 |
[% IF ( op_save ) %] |
168 |
<script type="text/javascript"> |
168 |
<script type="text/javascript"> |
169 |
// <![CDATA[ |
169 |
// <![CDATA[ |
170 |
$(document).ready(function() { calcNewsuggTotal(); }); |
170 |
$(document).ready(function(){ |
|
|
171 |
calcNewsuggTotal(); |
172 |
$("#quantity,#price,#currency").on("change",function(){ |
173 |
calcNewsuggTotal(); |
174 |
}); |
175 |
}); |
171 |
// ]]> |
176 |
// ]]> |
172 |
</script> |
177 |
</script> |
173 |
[% END %] |
178 |
[% END %] |
Lines 431-437
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
431 |
[% IF ( budgetsloo.selected ) %]<option value="[% budgetsloo.budget_id %]" selected="selected">[% budgetsloo.budget_name %]</option>[% ELSE %]<option value="[% budgetsloo.budget_id %]">[% budgetsloo.budget_name %]</option>[% END %][% END %] |
436 |
[% IF ( budgetsloo.selected ) %]<option value="[% budgetsloo.budget_id %]" selected="selected">[% budgetsloo.budget_name %]</option>[% ELSE %]<option value="[% budgetsloo.budget_id %]">[% budgetsloo.budget_name %]</option>[% END %][% END %] |
432 |
</select> |
437 |
</select> |
433 |
</li><li><label for="quantity">Copies:</label> |
438 |
</li><li><label for="quantity">Copies:</label> |
434 |
<input type="text" size="10" id="quantity" name="quantity" value="[% quantity %]" onchange="calcNewsuggTotal();" /> |
439 |
<input type="text" size="10" id="quantity" name="quantity" value="[% quantity %]" /> |
435 |
</li> |
440 |
</li> |
436 |
<li> |
441 |
<li> |
437 |
<label for="currency">Currency:</label> |
442 |
<label for="currency">Currency:</label> |
Lines 440-446
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
440 |
<input type="hidden" id="[% c.currency %]" name="[% c.currency %]" value="[% c.rate %]" /> |
445 |
<input type="hidden" id="[% c.currency %]" name="[% c.currency %]" value="[% c.rate %]" /> |
441 |
[% END %] |
446 |
[% END %] |
442 |
|
447 |
|
443 |
<select name="currency" id="currency" onchange="calcNewsuggTotal();"> |
448 |
<select name="currency" id="currency"> |
444 |
[% FOREACH c IN currencies %] |
449 |
[% FOREACH c IN currencies %] |
445 |
[% IF suggestionid and suggestion.currency == c.currency or not suggestionid and c.active %] |
450 |
[% IF suggestionid and suggestion.currency == c.currency or not suggestionid and c.active %] |
446 |
<option value="[% c.currency %]" selected="selected">[% c.currency %]</option> |
451 |
<option value="[% c.currency %]" selected="selected">[% c.currency %]</option> |
Lines 451-457
h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
Link Here
|
451 |
</select> |
456 |
</select> |
452 |
</li> |
457 |
</li> |
453 |
<li><label for="price">Price:</label> |
458 |
<li><label for="price">Price:</label> |
454 |
<input type="text" size="20" name="price" id="price" value="[% price %]" onchange="calcNewsuggTotal();" /> |
459 |
<input type="text" size="20" name="price" id="price" value="[% price %]" /> |
455 |
</li><li><label for="total">Total: </label> |
460 |
</li><li><label for="total">Total: </label> |
456 |
<input type="text" readonly="readonly" id="total" name="total" size="10" value="[% total %]"/> |
461 |
<input type="text" readonly="readonly" id="total" name="total" size="10" value="[% total %]"/> |
457 |
</li></ol> |
462 |
</li></ol> |
458 |
- |
|
|