| Line 200... |
Line 200... |
| 200 |
let itemCriteria1 = itemCriteria($itemCriteriaPayoutContainer);
|
200 |
let itemCriteria1 = itemCriteria($itemCriteriaPayoutContainer);
|
| 201 |
let $payoutSlabContainers = $itemCriteriaPayoutContainer.find('.slab');
|
201 |
let $payoutSlabContainers = $itemCriteriaPayoutContainer.find('.slab');
|
| 202 |
let itemCriteriaChanged = itemCriteria1['isSmartPhone'] || itemCriteria1['isFeaturedPhone']
|
202 |
let itemCriteriaChanged = itemCriteria1['isSmartPhone'] || itemCriteria1['isFeaturedPhone']
|
| 203 |
|| itemCriteria1['catalogIds'].length > 0 || itemCriteria1['brands'].length > 0
|
203 |
|| itemCriteria1['catalogIds'].length > 0 || itemCriteria1['brands'].length > 0
|
| 204 |
|| itemCriteria1['excludeCatalogIds'].length > 0
|
204 |
|| itemCriteria1['excludeCatalogIds'].length > 0
|
| 205 |
|| itemCriteria1['startPrice'] > 0 || itemCriteria1['endPrice'] > startPrice;
|
205 |
|| itemCriteria1['startPrice'] > 0 || itemCriteria1['endPrice'] > itemCriteria1['startPrice'] > 0;
|
| 206 |
if (itemCriteriaChanged || index == 0) {
|
206 |
if (itemCriteriaChanged || index == 0) {
|
| 207 |
$payoutSlabContainers.each(function (slabContainerIndex, slabContainer) {
|
207 |
$payoutSlabContainers.each(function (slabContainerIndex, slabContainer) {
|
| 208 |
let $slab = $(slabContainer);
|
208 |
let $slab = $(slabContainer);
|
| 209 |
|
209 |
|
| 210 |
let slabOnwardsAmount = $slab.find('.slabOnwardsAmount').val();
|
210 |
let slabOnwardsAmount = $slab.find('.slabOnwardsAmount').val();
|