fix: prevent manual membership programs from being filtered as multi-level in POS order logic
This commit is contained in:
parent
af99678406
commit
9d1fe545e3
@ -48,7 +48,7 @@ patch(PosOrder.prototype, {
|
|||||||
// With the guard set, this._programIsApplicable(p) will skip the custom block,
|
// With the guard set, this._programIsApplicable(p) will skip the custom block,
|
||||||
// effectively calling only the base logic for each candidate program.
|
// effectively calling only the base logic for each candidate program.
|
||||||
multiLevelPrograms = allPrograms.filter(
|
multiLevelPrograms = allPrograms.filter(
|
||||||
(p) => p.multi_level_membership && this._programIsApplicable(p)
|
(p) => p.multi_level_membership && !p.manual_membership && this._programIsApplicable(p)
|
||||||
);
|
);
|
||||||
} finally {
|
} finally {
|
||||||
_checkingMultiLevel = false;
|
_checkingMultiLevel = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user