Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

311 remove taxid field from db and project #316

Merged
merged 2 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions FMS.Domain/Dto/Facility/FacilityCreateDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ public class FacilityCreateDto
[Display(Name = "Historical C.O.")]
public string HistoricalComplianceOfficer { get; set; }

[Display(Name = "Tax ID")]
public string TaxId { get; set; }

[Display(Name = "Has Electronic Records")]
public bool HasERecord { get; set; }

Expand All @@ -125,7 +122,6 @@ public void TrimAll()
PostalCode = PostalCode?.Trim();
HSInumber = HSInumber?.Trim();
HistoricalUnit = HistoricalUnit?.Trim();
TaxId = TaxId?.Trim();
}
}
}
6 changes: 1 addition & 5 deletions FMS.Domain/Dto/Facility/FacilityDetailDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public FacilityDetailDto(Facility facility)
VRPReferral = facility.VRPReferral;
RNDateReceived = facility.RNDateReceived;
HistoricalUnit = facility.HistoricalUnit;
HistoricalComplianceOfficer = facility.HistoricalComplianceOfficer;
TaxId = facility.TaxId;
HistoricalComplianceOfficer = facility.HistoricalComplianceOfficer;
HasERecord = facility.HasERecord;
IsRetained = facility.IsRetained;
Cabinets = new List<string>();
Expand Down Expand Up @@ -142,9 +141,6 @@ public FacilityDetailDto(Facility facility)
[Display(Name = "Historical C.O.")]
public string HistoricalComplianceOfficer { get; set; }

[Display(Name = "Tax ID")]
public string TaxId { get; set; }

[Display(Name = "Has Electronic Records")]
public bool HasERecord { get; set; }

Expand Down
5 changes: 0 additions & 5 deletions FMS.Domain/Dto/Facility/FacilityEditDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public FacilityEditDto(FacilityDetailDto facility)
RNDateReceived = facility.RNDateReceived;
HistoricalUnit = facility.HistoricalUnit;
HistoricalComplianceOfficer = facility.HistoricalComplianceOfficer;
TaxId = facility.TaxId;
HasERecord = facility.HasERecord;
IsRetained = facility.IsRetained;
}
Expand Down Expand Up @@ -151,9 +150,6 @@ public FacilityEditDto(FacilityDetailDto facility)
[Display(Name = "Historical Compliance Officer")]
public string HistoricalComplianceOfficer { get; set; }

[Display(Name = "Tax ID")]
public string TaxId { get; set; }

[Display(Name = "Has Electronic Records")]
public bool HasERecord { get; set; }

Expand All @@ -168,7 +164,6 @@ public void TrimAll()
PostalCode = PostalCode?.Trim();
HSInumber = HSInumber?.Trim();
HistoricalUnit = HistoricalUnit?.Trim();
TaxId = TaxId?.Trim();
}
}
}
3 changes: 0 additions & 3 deletions FMS.Domain/Dto/Facility/FacilitySpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ public class FacilitySpec
[Display(Name = "Historical C.O.")]
public string HistoricalComplianceOfficer { get; set; }

[Display(Name = "Tax ID")]
public string TaxId { get; set; }

[Display(Name = "Has Electronic Records")]
public bool HasERecord { get; set; }

Expand Down
3 changes: 0 additions & 3 deletions FMS.Domain/Entities/Facility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public Facility(FacilityCreateDto newFacility)
RNDateReceived = newFacility.RNDateReceived;
HistoricalUnit = newFacility.HistoricalUnit;
HistoricalComplianceOfficer = newFacility.HistoricalComplianceOfficer;
TaxId = newFacility.TaxId;
}

// Existing ID for Facility May be used by Programs - System Generated, but not a Guid
Expand Down Expand Up @@ -130,8 +129,6 @@ public Facility(FacilityCreateDto newFacility)

public string HistoricalComplianceOfficer { get; set; }

public string TaxId { get; set; }

// List of retention records for this Facility
public ICollection<RetentionRecord> RetentionRecords { get; set; }
}
Expand Down
Loading
Loading