Catch eligibility: catcher needs level >= the level the buyer is LEAVING, not the level being bought
Matches _payUpline (level > levelIndex, levelIndex = buyer.level-1). The old depth+1 rule told #21 (Culmen) it could not catch #49's Apex buy; #21 is #49's 4th matrix upline and does catch it. Fixed in the owner alert, coaching scan, dashboard pipeline, AI prompt, leader digest, chatbot and how-pay-works copy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -511,7 +511,8 @@
|
||||
if(depth>=1){
|
||||
if(lvl===depth){
|
||||
const amt=(up[tier]||[])[depth-1];
|
||||
if(amt)ready.push({id:n.id,depth,tier,amt,toLevel:LEVELS[depth]||('Level '+(depth+1)),needLevel:depth+1});
|
||||
// catcher needs level >= the level the buyer is LEAVING (= depth), per _payUpline
|
||||
if(amt)ready.push({id:n.id,depth,tier,amt,toLevel:LEVELS[depth]||('Level '+(depth+1)),needLevel:depth});
|
||||
}else if(lvl<depth)building.push({id:n.id,depth,steps:depth-lvl});
|
||||
else passedCount.n++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user