Allow users to to restore supplies by either deleting the record or deleting the requistion history.

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-11-20 11:54:29 -07:00
parent 63e9e5ecec
commit 210b27ab25
21 changed files with 246 additions and 32 deletions

View File

@@ -15,6 +15,7 @@
public List<string> Tags { get; set; } = new List<string>();
public List<ExtraField> ExtraFields { get; set; } = new List<ExtraField>();
public List<SupplyUsageHistory> RequisitionHistory { get; set; } = new List<SupplyUsageHistory>();
public List<SupplyUsageHistory> DeletedRequisitionHistory { get; set; } = new List<SupplyUsageHistory>();
public bool CopySuppliesAttachment { get; set; } = false;
public UpgradeRecord ToUpgradeRecord() { return new UpgradeRecord {
Id = Id,