This commit is contained in:
mmrbnjd
2024-12-13 16:04:57 +03:30
parent 90f57ece26
commit 8c06064476
4 changed files with 21 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ namespace Back.Data.Models
public string? tins { get { return company?.EconomicCode; } }
//شماره اقتصادی خریدار
[MaxLength(14)]
public string? tinb { get { return Customer.CustomerType==CustomerType.WithoutIdentity ?null : Customer.EconomicCode; } }
public string? tinb { get { return Customer.CustomerType==CustomerType.WithoutIdentity ? null : Customer.EconomicCode; } }
//مجموع مبلغ قبل از کسر تخفیف
[MaxLength(18)]
public decimal? tprdis { get { return invoiceDetails.Sum(i => i.prdis); } }