* style.css:

* UserPost.aspx:
* Estimate.cs:
* Writting.cs:
* WorkFlowController.cs:
* NpgsqlContentProvider.cs: 
* FrontOfficeApiController.cs: Fixed the GetEstimate function,
  refactoring
This commit is contained in:
Paul Schneider 2014-09-23 12:25:41 +02:00
commit 8fee293665
7 changed files with 48 additions and 35 deletions

View file

@ -13,6 +13,8 @@ namespace yavscModel.WorkFlow
public decimal Ciffer {
get {
decimal total = 0;
if (Lines == null)
return total;
foreach (Writting l in Lines)
total += l.UnitaryCost * l.Count;
return total;

View file

@ -6,7 +6,7 @@ namespace yavscModel.WorkFlow
{
public decimal UnitaryCost { get; set; }
public int Count { get; set; }
public string ProductReference { get; set; }
public long ProductReference { get; set; }
public string Description { get; set; }
}
}