From deda6274136694fbb79c9d996d268d02d390c796 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Thu, 1 May 2025 13:07:32 +0200 Subject: [PATCH] fix: multiply standing cost by purchase quantity --- src/services/purchaseService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/purchaseService.ts b/src/services/purchaseService.ts index 728f6570..38cfd3d1 100644 --- a/src/services/purchaseService.ts +++ b/src/services/purchaseService.ts @@ -223,10 +223,10 @@ export const handlePurchase = async ( purchaseResponse.Standing = [ { Tag: syndicateTag, - Standing: favour.standingCost + Standing: favour.standingCost * purchaseRequest.PurchaseParams.Quantity } ]; - affiliation.Standing -= favour.standingCost; + affiliation.Standing -= favour.standingCost * purchaseRequest.PurchaseParams.Quantity; } } }