brusher profile & commands
This commit is contained in:
parent
1e6c1d15db
commit
bdec090ce9
25 changed files with 3114 additions and 38 deletions
202
Yavsc/Views/BrusherProfile/Delete.cshtml
Normal file
202
Yavsc/Views/BrusherProfile/Delete.cshtml
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
@model Yavsc.Models.Haircut.BrusherProfile
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
||||
<h2>Delete</h2>
|
||||
|
||||
<h3>Are you sure you want to delete this?</h3>
|
||||
<div>
|
||||
<h4>BrusherProfile</h4>
|
||||
<hr />
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.CarePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.CarePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.EndOfTheDay)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.EndOfTheDay)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfBalayagePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfBalayagePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfBrushingPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfBrushingPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfDefrisPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfDefrisPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfMechPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfMechPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfMultiColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfMultiColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfPermanentPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfPermanentPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.KidCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.KidCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongBalayagePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongBalayagePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongBrushingPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongBrushingPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongDefrisPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongDefrisPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongMechPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongMechPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongMultiColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongMultiColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongPermanentPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongPermanentPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ManCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ManCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShampooPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShampooPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortBalayagePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortBalayagePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortBrushingPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortBrushingPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortDefrisPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortDefrisPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortMechPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortMechPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortMultiColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortMultiColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortPermanentPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortPermanentPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.StartOfTheDay)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.StartOfTheDay)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.WomenHalfCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.WomenHalfCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.WomenLongCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.WomenLongCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.WomenShortCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.WomenShortCutPrice)
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<form asp-action="Delete">
|
||||
<div class="form-actions no-color">
|
||||
<input type="submit" value="Delete" class="btn btn-default" /> |
|
||||
<a asp-action="Index">@SR["Annuler"]</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
241
Yavsc/Views/BrusherProfile/Edit.cshtml
Normal file
241
Yavsc/Views/BrusherProfile/Edit.cshtml
Normal file
|
|
@ -0,0 +1,241 @@
|
|||
@model Yavsc.Models.Haircut.BrusherProfile
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Edit";
|
||||
}
|
||||
|
||||
<h2>Edit</h2>
|
||||
|
||||
<form asp-action="Edit">
|
||||
<div class="form-horizontal">
|
||||
<h4>BrusherProfile</h4>
|
||||
<hr />
|
||||
<fieldset><legend>Disponibilité</legend>
|
||||
<div class="form-group">
|
||||
<label asp-for="StartOfTheDay" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="StartOfTheDay" class="form-control" />
|
||||
<span asp-validation-for="StartOfTheDay" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="EndOfTheDay" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="EndOfTheDay" class="form-control" />
|
||||
<span asp-validation-for="EndOfTheDay" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset><legend>Grille tarifaire</legend>
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="UserId" />
|
||||
<div class="form-group">
|
||||
<label asp-for="CarePrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="CarePrice" class="form-control" />
|
||||
<span asp-validation-for="CarePrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfBalayagePrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfBalayagePrice" class="form-control" />
|
||||
<span asp-validation-for="HalfBalayagePrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfBrushingPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfBrushingPrice" class="form-control" />
|
||||
<span asp-validation-for="HalfBrushingPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfColorPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfColorPrice" class="form-control" />
|
||||
<span asp-validation-for="HalfColorPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfDefrisPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfDefrisPrice" class="form-control" />
|
||||
<span asp-validation-for="HalfDefrisPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfMechPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfMechPrice" class="form-control" />
|
||||
<span asp-validation-for="HalfMechPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfMultiColorPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfMultiColorPrice" class="form-control" />
|
||||
<span asp-validation-for="HalfMultiColorPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="HalfPermanentPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="HalfPermanentPrice" class="form-control" />
|
||||
<span asp-validation-for="HalfPermanentPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="KidCutPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="KidCutPrice" class="form-control" />
|
||||
<span asp-validation-for="KidCutPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongBalayagePrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongBalayagePrice" class="form-control" />
|
||||
<span asp-validation-for="LongBalayagePrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongBrushingPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongBrushingPrice" class="form-control" />
|
||||
<span asp-validation-for="LongBrushingPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongColorPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongColorPrice" class="form-control" />
|
||||
<span asp-validation-for="LongColorPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongDefrisPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongDefrisPrice" class="form-control" />
|
||||
<span asp-validation-for="LongDefrisPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongMechPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongMechPrice" class="form-control" />
|
||||
<span asp-validation-for="LongMechPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongMultiColorPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongMultiColorPrice" class="form-control" />
|
||||
<span asp-validation-for="LongMultiColorPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="LongPermanentPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="LongPermanentPrice" class="form-control" />
|
||||
<span asp-validation-for="LongPermanentPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ManCutPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ManCutPrice" class="form-control" />
|
||||
<span asp-validation-for="ManCutPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShampooPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShampooPrice" class="form-control" />
|
||||
<span asp-validation-for="ShampooPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortBalayagePrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortBalayagePrice" class="form-control" />
|
||||
<span asp-validation-for="ShortBalayagePrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortBrushingPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortBrushingPrice" class="form-control" />
|
||||
<span asp-validation-for="ShortBrushingPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortColorPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortColorPrice" class="form-control" />
|
||||
<span asp-validation-for="ShortColorPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortDefrisPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortDefrisPrice" class="form-control" />
|
||||
<span asp-validation-for="ShortDefrisPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortMechPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortMechPrice" class="form-control" />
|
||||
<span asp-validation-for="ShortMechPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortMultiColorPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortMultiColorPrice" class="form-control" />
|
||||
<span asp-validation-for="ShortMultiColorPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="ShortPermanentPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="ShortPermanentPrice" class="form-control" />
|
||||
<span asp-validation-for="ShortPermanentPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="WomenHalfCutPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="WomenHalfCutPrice" class="form-control" />
|
||||
<span asp-validation-for="WomenHalfCutPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="WomenLongCutPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="WomenLongCutPrice" class="form-control" />
|
||||
<span asp-validation-for="WomenLongCutPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="WomenShortCutPrice" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="WomenShortCutPrice" class="form-control" />
|
||||
<span asp-validation-for="WomenShortCutPrice" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="Save" class="btn btn-default" />
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a asp-action="Index">Annuler</a>
|
||||
</div>
|
||||
|
||||
205
Yavsc/Views/BrusherProfile/Index.cshtml
Normal file
205
Yavsc/Views/BrusherProfile/Index.cshtml
Normal file
|
|
@ -0,0 +1,205 @@
|
|||
@model Yavsc.Models.Haircut.BrusherProfile
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Profile coiffeur";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
|
||||
<div>
|
||||
<hr />
|
||||
@if (Model!=null) {
|
||||
<dl class="dl-horizontal">
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.EndOfTheDay)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.Partial("HourFromMinutes", Model.EndOfTheDay)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.StartOfTheDay)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.Partial("HourFromMinutes", Model.StartOfTheDay)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.CarePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.CarePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfBalayagePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfBalayagePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfBrushingPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfBrushingPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfDefrisPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfDefrisPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfMechPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfMechPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfMultiColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfMultiColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.HalfPermanentPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.HalfPermanentPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.KidCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.KidCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongBalayagePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongBalayagePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongBrushingPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongBrushingPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongDefrisPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongDefrisPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongMechPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongMechPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongMultiColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongMultiColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.LongPermanentPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.LongPermanentPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ManCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ManCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShampooPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShampooPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortBalayagePrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortBalayagePrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortBrushingPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortBrushingPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortDefrisPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortDefrisPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortMechPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortMechPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortMultiColorPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortMultiColorPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.ShortPermanentPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.ShortPermanentPrice)
|
||||
</dd>
|
||||
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.WomenHalfCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.WomenHalfCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.WomenLongCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.WomenLongCutPrice)
|
||||
</dd>
|
||||
<dt>
|
||||
@Html.DisplayNameFor(model => model.WomenShortCutPrice)
|
||||
</dt>
|
||||
<dd>
|
||||
@Html.DisplayFor(model => model.WomenShortCutPrice)
|
||||
</dd>
|
||||
</dl>}
|
||||
else {
|
||||
@SR["Aucun profile renseigné"]
|
||||
}
|
||||
</div>
|
||||
<p>
|
||||
<a asp-action="Edit" >@SR["Edit"]</a>
|
||||
@if (Model!=null) {
|
||||
<a asp-action="Delete" asp-route-id="@Model.UserId">@SR["Delete"]</a>
|
||||
}
|
||||
</p>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<dt>@SR["Activity"]</dt>
|
||||
<dd> @Html.DisplayFor(m=>m.Does)
|
||||
@if (ViewBag.HasConfigurableSettings) {
|
||||
<a asp-controller="@ViewBag.SettingsClassControllerName" asp-action="Index" >
|
||||
<a asp-controller="@ViewBag.SettingsControllerName" asp-action="Index" >
|
||||
[@SR["Manage"] @SR[Model.Does.SettingsClassName]]
|
||||
</a>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,25 +1,31 @@
|
|||
@model HairCutView
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Book - " + (ViewBag.Activity?.Name ?? SR["Any"]);
|
||||
ViewData["Title"] = $"{ViewBag.Activity.Name}: Votre commande";
|
||||
}
|
||||
<em>@ViewBag.Activity.Description</em>
|
||||
|
||||
|
||||
@Html.DisplayFor(m=>m)
|
||||
<form asp-controller="HairCutCommand" asp-action="CreateHairCutQuery" >
|
||||
<form asp-controller="HairCutCommand" asp-action="HairCutProfiles" >
|
||||
|
||||
|
||||
<div class="form-horizontal">
|
||||
<h4>HairPrestation</h4>
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.ModelOnly" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<div class="checkbox">
|
||||
<input asp-for="Topic.Cares" />
|
||||
<label asp-for="Topic.Cares"></label>
|
||||
</div>
|
||||
<label asp-for="Topic.Gender" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Topic.Gender" asp-items="@ViewBag.Gender" class="form-control"></select>
|
||||
<span asp-validation-for="Topic.Gender" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Topic.Length" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Topic.Length" asp-items="@ViewBag.HairLength" class="form-control"></select>
|
||||
<span asp-validation-for="Topic.Length" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
@ -31,24 +37,31 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Topic.Dressing" class="col-md-2 control-label"></label>
|
||||
<label asp-for="Topic.Dressing" asp-items="@ViewBag.Dressing" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Topic.Dressing" class="form-control"></select>
|
||||
<select asp-for="Topic.Dressing" class="form-control" asp-items="@ViewBag.HairDressings"></select>
|
||||
<span asp-validation-for="Topic.Dressing" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Topic.Gender" class="col-md-2 control-label"></label>
|
||||
<label asp-for="Topic.Tech" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Topic.Gender" class="form-control"></select>
|
||||
<span asp-validation-for="Topic.Gender" class="text-danger" />
|
||||
<select asp-for="Topic.Tech" asp-items="@ViewBag.HairTechnos" class="form-control"></select>
|
||||
<span asp-validation-for="Topic.Tech" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Topic.Length" class="col-md-2 control-label"></label>
|
||||
<label asp-for="Topic.Taints" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Topic.Length" class="form-control"></select>
|
||||
<span asp-validation-for="Topic.Length" class="text-danger" />
|
||||
|
||||
@foreach (HairTaint color in ViewBag.HairTaints) {
|
||||
<label>
|
||||
<input type="checkbox" value="@color.Id" name="Topic.Taints[]"/>
|
||||
@await Html.PartialAsync("HairTaint",color)
|
||||
</label>
|
||||
}
|
||||
<input type="hidden" asp-for="Topic.Taints" />
|
||||
<span asp-validation-for="Topic.Taints" class="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
@ -60,14 +73,14 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="Topic.Tech" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<select asp-for="Topic.Tech" class="form-control"></select>
|
||||
<span asp-validation-for="Topic.Tech" class="text-danger" />
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<div class="checkbox">
|
||||
<input asp-for="Topic.Cares" />
|
||||
<label asp-for="Topic.Cares"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="activityCode" value="@ViewBag.Activity.Code" />
|
||||
<input type="submit" value="@SR["Selectionnez maintenant votre prestataire"]"/>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
@model IEnumerable<PerformerProfile>
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Book - " + (ViewBag.Activity?.Name ?? SR["Any"]);
|
||||
ViewData["Title"] = "Les profiles - " + (ViewBag.Activity?.Name ?? SR["Any"]);
|
||||
}
|
||||
<h1>@ViewData["Title"]</h1>
|
||||
<em>@ViewBag.Activity.Description</em>
|
||||
|
||||
@foreach (var profile in Model) {
|
||||
|
|
|
|||
2
Yavsc/Views/Shared/HairTaint.cshtml
Normal file
2
Yavsc/Views/Shared/HairTaint.cshtml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@model HairTaint
|
||||
@Html.DisplayFor(m=>m.Color) (@Model.Brand)
|
||||
2
Yavsc/Views/Shared/HourFromMinutes.cshtml
Normal file
2
Yavsc/Views/Shared/HourFromMinutes.cshtml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@model int
|
||||
@(Model/60):@(Model%60)
|
||||
|
|
@ -21,6 +21,7 @@
|
|||
@using Yavsc.Models.Workflow;
|
||||
@using Yavsc.Models.Relationship
|
||||
@using Yavsc.Models.Drawing;
|
||||
@using Yavsc.Models.Haircut;
|
||||
|
||||
@using Yavsc.ViewModels.Account;
|
||||
@using Yavsc.ViewModels.Manage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue