feat: add ContractStart and ContractEnd properties to institution contract response

This commit is contained in:
MahanCh
2025-08-26 17:36:12 +03:30
parent 86682a28e2
commit d37ad552df

View File

@@ -618,6 +618,8 @@ public class institutionContractController : AdminBaseController
OneTimeTotalAmount = res.OneTimeTotalPaymentStr,
MonthlyTotalAmount= res.MonthlyTotalPaymentStr,
TotalTax = res.ValueAddedTaxStr,
ContractStart = request.ContractStartType == "currentMonth"?res.ContractStartCurrentMonthFa:res.ContractStartNextMonthFa,
ContractEnd = res.ContractEndFa
};
return response;
}
@@ -672,6 +674,8 @@ public class InstitutionPlanCalculatorResponse
public string OneTimeTotalAmount { get; set; }
public string MonthlyTotalAmount { get; set; }
public string MonthlyTotalAmountWithoutTax { get; set; }
public string ContractStart { get; set; }
public string ContractEnd { get; set; }
}
public class WorkshopServiceCalculatorResponse