WIP PreorderProduct 2025-02-24
This commit is contained in:
@@ -139,7 +139,26 @@
|
||||
} else {
|
||||
$(selector + " i.collapse-indicator").removeClass(itype + "-down").addClass(itype + "-right");
|
||||
}
|
||||
}
|
||||
|
||||
function priceToMarketshare(netop_id, product_id, type) {
|
||||
console.log(netop_id, product_id, type);
|
||||
|
||||
let price = $("#price-" + type + "-" + netop_id + "-" + product_id).val();
|
||||
console.log(price);
|
||||
if(!price.length) return;
|
||||
|
||||
$("#marketshare-0-" + netop_id + "-" + product_id + "-" + type).val(price);
|
||||
}
|
||||
|
||||
function marketshareToPrice(netop_id, product_id, type) {
|
||||
console.log(netop_id, product_id, type);
|
||||
|
||||
let price = $("#marketshare-0-" + netop_id + "-" + product_id + "-" + type).val();
|
||||
console.log(price);
|
||||
if(!price.length) return;
|
||||
|
||||
$("#price-" + type + "-" + netop_id + "-" + product_id).val(price);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user