This commit is contained in:
Paul Schneider 2017-05-12 12:15:57 +02:00
commit 42c08797e3
44 changed files with 2798 additions and 350 deletions

View file

@ -31,12 +31,13 @@
@Html.DisplayFor(m=>m.AdditionalInfo)
</dd>
<dt>Addition minimale
(Compter des frais supplémentaires
en cas de longs déplacements,
ou des majorations en cas de weekend et jour férie)
<dt>Addition minimale
</dt>
<dd> <span class="price"> @ViewBag.Addition </span>
<dd> <span class="price"> @ViewBag.Addition </span> <br/>
(Compter des frais supplémentaires <br/>
en cas de longs déplacements,<br/>
ou des majorations en cas de weekend et jour férie)
</dd>
<dt>Date de la prestation</dt>
<dd>@if (Model.EventDate == null) {
@ -65,7 +66,7 @@
else {
if (ViewBag.GooglePayload.failure>0)
{
<div class="error">@SR["GCM Notification sending failed"]</div>
<div class="error">@SR["EGCMBUTEMAIL"]</div>
}
else {
<div>@SR["E-mail sent"]</div>
@ -73,6 +74,18 @@
}
} else {<div>@SR["E-mail sent"]</div>}
</dd>
<dt>Numéro identifiant votre commande</dt>
<dd>@Model.Id</dd>
<environment names="Development">
<dt>Facture</dt>
<dd>TODO</dd>
</environment>
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
<dd>@Html.DisplayFor(m=>m.Regularisation,new { PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString() })</dd>
</dl>

View file

@ -16,7 +16,6 @@
function updateTarif () {
var len = $('#Prestation_Length').prop('selectedIndex');
var gen = $("#Prestation_Gender").prop('selectedIndex');
var tech = $("#Prestation_Tech").prop('selectedIndex');
var dress = $("#Prestation_Dressing").prop('selectedIndex');
@ -28,7 +27,6 @@
havecut = true;
total += cutprice;
displayTarif('CutPrice', cutprice);
} else displayTarif('CutPrice',0);
if (gen==0) {
if (tech>0) { 
@ -129,8 +127,6 @@
} else gtarif=tarifs[2];
}
onTarif(tarifs[0]);
updateTarif();
});
</script>