ауф
This commit is contained in:
parent
f776caeb61
commit
6bdc909eeb
@ -30,16 +30,17 @@ public class Invoice
|
||||
[DisplayName("Дата")]
|
||||
public DateTime DateInvoice { get; set; }
|
||||
|
||||
[DisplayName("Продукты")]
|
||||
public string Product => Products != null ?
|
||||
string.Join(", ", Products.Select(x => $"{x.ProductName} {x.Count}")) : string.Empty;
|
||||
|
||||
[Browsable(false)]
|
||||
public IEnumerable<InvoiceProduct> Products
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
} = [];
|
||||
|
||||
[DisplayName("Продукты")]
|
||||
public string Product => Products != null ?
|
||||
string.Join(", ", Products.Select(x => $"{x.ProductName} {x.Count}")) : string.Empty;
|
||||
|
||||
public static Invoice CreateOperation(int id, int clientId, int availabilityOfPromotionalCode, int discountPercentage,
|
||||
int sellingPrice, IEnumerable<InvoiceProduct> products)
|
||||
{
|
||||
|
@ -12,6 +12,7 @@ public class ProductMovement
|
||||
{
|
||||
public int ID { get; private set; }
|
||||
|
||||
[Browsable(false)]
|
||||
public int ProductID { get; private set; }
|
||||
|
||||
[DisplayName("Товар")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user