|
Lines 179-185
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"); |
|
|
| 183 |
var quantity = new Number($("#quantity").val()); |
182 |
var quantity = new Number($("#quantity").val()); |
| 184 |
var discount = new Number($("#discount").val()); |
183 |
var discount = new Number($("#discount").val()); |
| 185 |
var listprice = new Number($("#listprice").val()); |
184 |
var listprice = new Number($("#listprice").val()); |
|
Lines 204-210
function updateCosts(){
Link Here
|
| 204 |
} |
203 |
} |
| 205 |
|
204 |
|
| 206 |
function syncReplacementPrice(sourceId, targetId) { |
205 |
function syncReplacementPrice(sourceId, targetId) { |
| 207 |
console.log("updatePRice"); |
|
|
| 208 |
var priceValue = $("#" + sourceId).val(); |
206 |
var priceValue = $("#" + sourceId).val(); |
| 209 |
$("#" + targetId).val(priceValue); |
207 |
$("#" + targetId).val(priceValue); |
| 210 |
} |
208 |
} |
| 211 |
- |
|
|