yavsc/yavscModel/FrontOffice/Catalog/PhysicalProduct.cs
Paul Schneider 3dbf0265db * SalesCatalog.csproj: clean an unused reference
* TestBrands.cs:
* Service.cs:
* PhysicalProduct.cs: clean an obsolete reference

* TestCatalogInit.cs: cleaner

* XmlCatalog.cs:
* XmlCatalogProvider.cs: suppressed some xml doc warnings

* Estimate.aspx: new jQuery version 

* Web.config: removed a section dotNetOpenAuth at using the .Net
  framework 4.5.1
2015-01-29 23:05:57 +01:00

27 lines
597 B
C#

using System;
namespace Yavsc.Model.FrontOffice
{
public class PhysicalProduct : Product
{
public PhysicalProduct ()
{
}
public Price UnitaryPrice { get; set; }
#region implemented abstract members of Product
public override string[] GetSalesConditions ()
{
return new string [] { string.Format(
"Prix unitaire : {0} {1}",
UnitaryPrice.Quantity.ToString(),
UnitaryPrice.Unit.Name) };
}
#endregion
public override string ToString ()
{
return string.Format ("[PhysicalProduct: Reference:{0} UnitaryPrice={1}]", Reference, UnitaryPrice);
}
}
}