* 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
28 lines
550 B
C#
28 lines
550 B
C#
using System;
|
|
|
|
namespace Yavsc.Model.FrontOffice
|
|
{
|
|
public class Service : Product
|
|
{
|
|
public Service ()
|
|
{
|
|
}
|
|
|
|
public Price HourPrice { get; set; }
|
|
|
|
#region implemented abstract members of Product
|
|
public override string [] GetSalesConditions ()
|
|
{
|
|
return new string [] { string.Format(
|
|
"Prix horaire de la prestation : {0} {1}",
|
|
HourPrice.Quantity.ToString(),
|
|
HourPrice.Unit.Name) } ;
|
|
}
|
|
#endregion
|
|
public override string ToString ()
|
|
{
|
|
return string.Format ("[Service: HourPrice={0}]", HourPrice);
|
|
}
|
|
}
|
|
}
|
|
|