fix: multiply standing cost by purchase quantity
This commit is contained in:
parent
c4b2248df5
commit
deda627413
@ -223,10 +223,10 @@ export const handlePurchase = async (
|
|||||||
purchaseResponse.Standing = [
|
purchaseResponse.Standing = [
|
||||||
{
|
{
|
||||||
Tag: syndicateTag,
|
Tag: syndicateTag,
|
||||||
Standing: favour.standingCost
|
Standing: favour.standingCost * purchaseRequest.PurchaseParams.Quantity
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
affiliation.Standing -= favour.standingCost;
|
affiliation.Standing -= favour.standingCost * purchaseRequest.PurchaseParams.Quantity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user