[NotMapped]
public string InvoiceDateDisplay { get { return ConvertDate.Converting.NumericDateWithClock(Invoic eDate, '/', true, true, false, false); } }
[NotMapped]
public string TotalPriceDisplay { get { return string.Format("{0:n0} تومان", TotalPrice); } }
[NotMapped]
public string TotalProductsDisplay { get { return string.Format("{0:n0} تومان", TotalPrice - ValueAddedPrice + Discount); } }
[NotMapped]
public string ValueAddedPriceDisplay { get { return string.Format("{0:n0} تومان", ValueAddedPrice); } }
[NotMapped]
public string DiscountDisplay { get { return string.Format("{0:n0} تومان", Discount); } }
[NotMapped]
public string SalesPriceDisplay { get { return string.Format("{0:n0} تومان", SalesPrice); } }
[NotMapped]
public string ModifiedDateDisplay { get { return ConvertDate.Converting.NumericDateWithClock(Modifi edDate, '/', true, true, false, false); } }
[NotMapped]
public string CategoryName { get { return Category != null ? Category.Name : "تعریف نشده"; } }
[NotMapped]
public string QuantityAndMeasureUnitDisplay { get { return MeasureUnit == null || Quantity == 0 ? string.Format("{0:n0}", Quantity) : string.Format("{0:n0} {1}", Quantity, MeasureUnit.Title); } }
[NotMapped]
public string SoldQuantityDisplay { get { return MeasureUnit == null || SoldQuantity == 0 ? string.Format("{0:n0}", SoldQuantity) : string.Format("{0:n0} {1}", SoldQuantity, MeasureUnit.Title); } }