Remove unnecessary assignment of discount in one-time payment calculation

This commit is contained in:
MahanCh
2025-09-03 13:47:21 +03:30
parent e9dbfb411a
commit 0c56240158

View File

@@ -563,8 +563,7 @@ public class TemporaryClientRegistrationApplication : ITemporaryClientRegistrati
#region OneTimePaymentResult
double discountOneTimePeyment = sumOfWorkshopsPaymentDouble - tenPercent;
result.Discount = tenPercent.ToMoney();
//مبلغ بدون مالیات و با تخفیف
result.OneTimeWithoutTaxPaymentStr = discountOneTimePeyment.ToMoney();