feat: add daily compensation and obligation properties to payment result

This commit is contained in:
MahanCh
2025-09-02 09:46:28 +03:30
parent dbfffafbee
commit 66d566847e
2 changed files with 5 additions and 1 deletions

View File

@@ -76,5 +76,8 @@ public class ReviewAndPaymentViewModel
/// شمسی
/// </summary>
public string ContractEndFa { get; set; }
public string DailyCompensation { get; set; }
public string Obligation { get; set; }
}

View File

@@ -669,7 +669,8 @@ public class TemporaryClientRegistrationApplication : ITemporaryClientRegistrati
result.OneTimeTotalPaymentStr =( discountedPayment + taxDouble).ToMoney();
}
result.DailyCompensation = ((roundAmount2 * 10) / 100).ToMoney();
result.Obligation = result.OneTimeTotalPaymentStr;
return result;
}