fix bug
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Back.Data.Models
|
||||
public decimal? tocv { get { return invoiceDetails.Sum(i => i.sscv); } }
|
||||
//مجموع سهم مالیات بر ارزش افزوده از پرداخت
|
||||
[MaxLength(18)]
|
||||
public decimal? tvop { get { return invoiceDetails.Sum(i => i.vop); } }
|
||||
public decimal? tvop { get { return Math.Floor(invoiceDetails.Sum(i => i.vop).GetValueOrDefault()); } }
|
||||
//نوع شخص خریدار
|
||||
[MaxLength(1)]
|
||||
public int tob { get { return Customer.CustomerType == CustomerType.WithoutIdentity ? 0 : (int)Customer.CustomerType; } }
|
||||
|
Reference in New Issue
Block a user