Chore: Added full name property to product
Chore: Removed GetButton Function in ControlFactory.
This commit is contained in:
@ -24,6 +24,13 @@ namespace Tanshu.Accounts.Entities
|
||||
public virtual decimal Quantity { get; set; }
|
||||
public virtual IList<Inventory> Inventories { get; set; }
|
||||
|
||||
public virtual string FullName
|
||||
{
|
||||
get
|
||||
{
|
||||
return Units == string.Empty ? Name : string.Format("{0} ({1})", Name, Units);
|
||||
}
|
||||
}
|
||||
}
|
||||
public class ProductMap : ClassMapping<Product>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user