Lines 179-184
function messenger(X,Y,etc){ // FIXME: unused?
Link Here
|
179 |
// NEXT BLOCK IS USED BY NEWORDERBEMPTY |
179 |
// NEXT BLOCK IS USED BY NEWORDERBEMPTY |
180 |
|
180 |
|
181 |
function updateCosts(){ |
181 |
function updateCosts(){ |
|
|
182 |
console.log("updateCosts"); |
182 |
var quantity = new Number($("#quantity").val()); |
183 |
var quantity = new Number($("#quantity").val()); |
183 |
var discount = new Number($("#discount").val()); |
184 |
var discount = new Number($("#discount").val()); |
184 |
var listprice = new Number($("#listprice").val()); |
185 |
var listprice = new Number($("#listprice").val()); |
Lines 202-209
function updateCosts(){
Link Here
|
202 |
return true; |
203 |
return true; |
203 |
} |
204 |
} |
204 |
|
205 |
|
205 |
// Calculates total amount in a suggestion |
206 |
function syncReplacementPrice(sourceId, targetId) { |
|
|
207 |
console.log("updatePRice"); |
208 |
var priceValue = $("#" + sourceId).val(); |
209 |
$("#" + targetId).val(priceValue); |
210 |
} |
206 |
|
211 |
|
|
|
212 |
// Calculates total amount in a suggestion |
207 |
function calcNewsuggTotal(){ |
213 |
function calcNewsuggTotal(){ |
208 |
//collect values |
214 |
//collect values |
209 |
var quantity = Number(document.getElementById('quantity').value); |
215 |
var quantity = Number(document.getElementById('quantity').value); |
210 |
- |
|
|