From a6c1ae797108643d3c78a201b2d6ee8573de7c35 Mon Sep 17 00:00:00 2001 From: MahanCh Date: Tue, 2 Sep 2025 12:46:10 +0330 Subject: [PATCH] feat: add daily compensation and obligation properties to institution contract response --- .../Admin/Controllers/institutionContractController.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ServiceHost/Areas/Admin/Controllers/institutionContractController.cs b/ServiceHost/Areas/Admin/Controllers/institutionContractController.cs index 541f0e65..382de7d5 100644 --- a/ServiceHost/Areas/Admin/Controllers/institutionContractController.cs +++ b/ServiceHost/Areas/Admin/Controllers/institutionContractController.cs @@ -622,7 +622,9 @@ public class institutionContractController : AdminBaseController ContractEnd = res.ContractEndFa, Discount = res.Discount??"0", ValueAddedTax = res.ValueAddedTaxStr, - TotalAmountWithTax = res.OneTimeTotalPaymentStr + TotalAmountWithTax = res.OneTimeTotalPaymentStr, + DailyCompensation = res.DailyCompensation, + Obligation = res.Obligation }; return response; } @@ -681,6 +683,9 @@ public class InstitutionPlanCalculatorResponse public string ContractEnd { get; set; } public string Discount { get; set; } public string ValueAddedTax { get; set; } + public string DailyCompensation { get; set; } + public string Obligation { get; set; } + } public class WorkshopServiceCalculatorResponse