Resolve "Rider app trade-in support" #1723

Merged
arcticzero merged 79 commits from 783-rider-app-trade-in-support into master 2024-04-23 13:11:53 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit ee033ddd55 - Show all commits

View file

@ -104,10 +104,11 @@ class ItemPricingController extends Controller
$item_prices = $price_tier->getItemPrices(); $item_prices = $price_tier->getItemPrices();
// clear the tier's item prices // clear the tier's item prices for the specific item type
foreach ($item_prices as $ip) foreach ($item_prices as $ip)
{ {
$em->remove($ip); if ($ip->getItemType() == $item_type)
$em->remove($ip);
} }
// update the tier's item prices // update the tier's item prices

View file

@ -118,7 +118,6 @@ function init_item_type_dropdown() {
} }
function load_prices(price_tier_id, item_type_id) { function load_prices(price_tier_id, item_type_id) {
console.log('loading prices');
var req = new XMLHttpRequest(); var req = new XMLHttpRequest();
req.onreadystatechange = function() { req.onreadystatechange = function() {
// process response // process response