feat: add ContractStart and ContractEnd properties to institution contract response
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user