diff --git a/Yavsc/Models/Haircut/BrusherProfile.cs b/Yavsc/Models/Haircut/BrusherProfile.cs
index 7871bc49..24e60a1a 100644
--- a/Yavsc/Models/Haircut/BrusherProfile.cs
+++ b/Yavsc/Models/Haircut/BrusherProfile.cs
@@ -24,95 +24,94 @@ namespace Yavsc.Models.Haircut
[Display(Name="Fin de la journée")]
public int EndOfTheDay { get; set;}
- [Display(Name="Coût d'une coupe femme cheveux longs")]
+ [Display(Name="Coupe femme cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal WomenLongCutPrice { get; set; }
- [Display(Name="Coût d'une coupe femme cheveux mi-longs")]
+ [Display(Name="Coupe femme cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal WomenHalfCutPrice { get; set; }
- [Display(Name="Coût d'une coupe femme cheveux courts")]
+ [Display(Name="Coupe femme cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal WomenShortCutPrice { get; set; }
- [Display(Name="Coût d'une coupe homme")]
+ [Display(Name="Coupe homme"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ManCutPrice { get; set; }
- [Display(Name="Coût d'une coupe enfant")]
+ [Display(Name="Coupe enfant"),DisplayFormat(DataFormatString="{0:C}")]
public decimal KidCutPrice { get; set; }
- [Display(Name="Coût d'un brushing cheveux longs")]
+ [Display(Name="Brushing cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongBrushingPrice { get; set; }
- [Display(Name="Coût d'un brushing cheveux mi-longs")]
+ [Display(Name="Brushing cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfBrushingPrice { get; set; }
- [Display(Name="Coût d'un brushing cheveux courts")]
+ [Display(Name="Brushing cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortBrushingPrice { get; set; }
- [Display(Name="Coût du shamoing")]
+ [Display(Name="Shampoing"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShampooPrice { get; set; }
- [Display(Name="Coût du soin")]
+ [Display(Name="Soin"),DisplayFormat(DataFormatString="{0:C}")]
public decimal CarePrice { get; set; }
- [Display(Name="Coût d'une couleur cheveux longs")]
+ [Display(Name="couleur cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongColorPrice { get; set; }
- [Display(Name="Coût d'une couleur cheveux mi-longs")]
+ [Display(Name="couleur cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfColorPrice { get; set; }
- [Display(Name="Coût d'une couleur cheveux courts")]
+ [Display(Name="couleur cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortColorPrice { get; set; }
- [Display(Name="Coût d'une couleur multiple cheveux longs")]
+ [Display(Name="couleur multiple cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongMultiColorPrice { get; set; }
- [Display(Name="Coût d'une couleur multiple cheveux mi-longs")]
+ [Display(Name="couleur multiple cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfMultiColorPrice { get; set; }
- [Display(Name="Coût d'une couleur multiple cheveux courts")]
+ [Display(Name="couleur multiple cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortMultiColorPrice { get; set; }
- [Display(Name="Coût d'une permanente cheveux longs")]
+ [Display(Name="permanente cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongPermanentPrice { get; set; }
- [Display(Name="Coût d'une permanente cheveux mi-longs")]
+ [Display(Name="permanente cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfPermanentPrice { get; set; }
- [Display(Name="Coût d'une permanente cheveux courts")]
+ [Display(Name="permanente cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortPermanentPrice { get; set; }
- [Display(Name="Coût d'un défrisage cheveux longs")]
+ [Display(Name="défrisage cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongDefrisPrice { get; set; }
- [Display(Name="Coût d'un défrisage cheveux mi-longs")]
+ [Display(Name="défrisage cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfDefrisPrice { get; set; }
- [Display(Name="Coût d'un défrisage cheveux courts")]
+ [Display(Name="défrisage cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortDefrisPrice { get; set; }
- [Display(Name="Coût des mêches sur cheveux longs")]
+ [Display(Name="mêches sur cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongMechPrice { get; set; }
- [Display(Name="Coût des mêches sur cheveux mi-longs")]
+ [Display(Name="mêches sur cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfMechPrice { get; set; }
- [Display(Name="Coût des mêches sur cheveux courts")]
+ [Display(Name="mêches sur cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortMechPrice { get; set; }
- [Display(Name="Coût du balayage cheveux longs")]
+ [Display(Name="balayage cheveux longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal LongBalayagePrice { get; set; }
- [Display(Name="Coût du balayage cheveux mi-longs")]
+ [Display(Name="balayage cheveux mi-longs"),DisplayFormat(DataFormatString="{0:C}")]
public decimal HalfBalayagePrice { get; set; }
- [Display(Name="Coût du balayage cheveux courts")]
+ [Display(Name="balayage cheveux courts"),DisplayFormat(DataFormatString="{0:C}")]
public decimal ShortBalayagePrice { get; set; }
-
}
}
\ No newline at end of file
diff --git a/Yavsc/Models/Workflow/PerformerProfile.cs b/Yavsc/Models/Workflow/PerformerProfile.cs
index b6318e03..31e30233 100644
--- a/Yavsc/Models/Workflow/PerformerProfile.cs
+++ b/Yavsc/Models/Workflow/PerformerProfile.cs
@@ -42,10 +42,10 @@ namespace Yavsc.Models.Workflow
[Display(Name="Active")]
public bool Active { get; set; }
- [Display(Name="Maximal Daily Cost (euro/day)")]
+ [Display(Name="Maximal Daily Cost (euro/day)"),DisplayFormat(DataFormatString="{0:C}")]
public int? MaxDailyCost { get; set; }
- [Display(Name="Minimal Daily Cost (euro/day)")]
+ [Display(Name="Minimal Daily Cost (euro/day)"),DisplayFormat(DataFormatString="{0:C}")]
public int? MinDailyCost { get; set; }
[Display(Name="Rate from clients")]
diff --git a/Yavsc/Views/BrusherProfile/Index.cshtml b/Yavsc/Views/BrusherProfile/Index.cshtml
index f3a715e5..84efd2d1 100644
--- a/Yavsc/Views/BrusherProfile/Index.cshtml
+++ b/Yavsc/Views/BrusherProfile/Index.cshtml
@@ -9,6 +9,11 @@
@if (Model!=null) {
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ }
else {
@SR["Aucun profile renseigné"]
}
diff --git a/Yavsc/Views/Shared/HourFromMinutes.cshtml b/Yavsc/Views/Shared/HourFromMinutes.cshtml
index 319acb5b..d74689b0 100644
--- a/Yavsc/Views/Shared/HourFromMinutes.cshtml
+++ b/Yavsc/Views/Shared/HourFromMinutes.cshtml
@@ -1,2 +1,2 @@
@model int
-@(Model/60):@(Model%60)
\ No newline at end of file
+@((Model/60).ToString("00")):@((Model%60).ToString("00"))
\ No newline at end of file