feat: enhance Shop PO handling with discount scheme support and free issue tracking

This commit is contained in:
2026-10-22 16:27:14 +05:30
parent 33dc4adce2
commit 855eb44118
3 changed files with 63 additions and 34 deletions
+6
View File
@@ -15,5 +15,11 @@ namespace Distribution.Models
public int Quantity { get; set; }
public int QuantityFulfilled { get; set; } = 0;
public decimal UnitPrice { get; set; }
/// <summary>Free issue granted by a scheme (UnitPrice 0); shown in the Free Issue column.</summary>
public bool IsFree { get; set; }
public Guid? FK_SchemeId { get; set; }
/// <summary>Scheme name when it was applied, so later scheme edits don't rewrite history.</summary>
public string? SchemeName { get; set; }
}
}