refactor: clean up InstitutionContractApplication and remove unused properties from InstitutionContractPrintViewModel

This commit is contained in:
2025-12-23 11:20:10 +03:30
parent 62f6817640
commit a1736fa3cc
3 changed files with 1 additions and 5 deletions

View File

@@ -12,8 +12,6 @@ public class InstitutionContractWorkshopCurrent:InstitutionContractWorkshopBase
bool hasContractPlanInPerson, bool hasInsurancePlan, bool hasInsurancePlanInPerson,
int personnelCount, double price,long institutionContractWorkshopGroupId,
InstitutionContractWorkshopGroup workshopGroup,long workshopId,bool isAmendment, long initialWorkshopId) : base(workshopName, hasRollCallPlan,
int personnelCount, double price,long institutionContractWorkshopGroupId,
InstitutionContractWorkshopGroup workshopGroup,long workshopId,long initialWorkshopId,bool isAmendment) : base(workshopName, hasRollCallPlan,
hasRollCallPlanInPerson, hasCustomizeCheckoutPlan, hasContractPlan,
hasContractPlanInPerson, hasInsurancePlan, hasInsurancePlanInPerson, personnelCount, price,isAmendment)
{

View File

@@ -25,6 +25,4 @@ public class InstitutionContractPrintViewModel
public string VerifierPhoneNumber { get; set; }
public LawViewModel LawViewModel { get; set; }
public string Obligation { get; set; }
public string OneMonthWithoutTax { get; set; }
public string OneMonthTax { get; set; }
}

View File

@@ -1570,7 +1570,7 @@ public class InstitutionContractApplication : IInstitutionContractApplication
createdWorkshop.Services.InsuranceInPerson,createdWorkshop.PersonnelCount, createdWorkshop.Price,
createdWorkshop.InstitutionContractWorkshopGroupId,createdWorkshop.WorkshopGroup,
createdWorkshop.WorkshopId!.Value, false,createdWorkshop.id);
createdWorkshop.WorkshopId!.Value, createdWorkshop.id,false);
institutionContract.WorkshopGroup.AddCurrentWorkshop(currentWorkshop);