yavsc/src/Yavsc.Org/Views/HairCutCommand/CommandConfirmation.cshtml

94 lines
2.8 KiB
Text
Raw Normal View History

2017-03-24 23:33:03 +01:00
@model HairCutQuery
@{
2023-03-20 19:38:50 +00:00
ViewData["Title"] = "Command confirmation"+" "+ViewBag.Activity.Name;
2017-03-24 23:33:03 +01:00
}
2017-05-24 23:36:49 +02:00
@section header {
<script src="https://www.paypalobjects.com/api/checkout.js"></script>
}
2017-03-24 23:33:03 +01:00
<h2>@ViewData["Title"]</h2>
<div class="form-horizontal">
2023-03-20 09:13:16 +00:00
<h4>Your book query</h4>
2017-03-24 23:33:03 +01:00
<hr />
2017-04-08 17:51:31 +02:00
<dl class="dl-horizontal">
2017-04-08 09:17:15 +02:00
<dt>
2023-03-20 09:13:16 +00:00
Votre prestataire"]
2017-04-08 09:17:15 +02:00
</dt>
<dd>
2017-04-01 02:14:10 +02:00
@Html.DisplayFor(m=>m.PerformerProfile)
2017-04-08 09:17:15 +02:00
</dd>
<dt>
@Html.DisplayNameFor(m=>m.Prestation)
</dt>
<dd>
2017-04-01 02:14:10 +02:00
@Html.DisplayFor(m=>m.Prestation)
2017-04-08 09:17:15 +02:00
</dd>
<dt>
@Html.DisplayNameFor(m=>m.AdditionalInfo)
</dt>
2017-04-08 17:51:31 +02:00
<dd>
@if (string.IsNullOrWhiteSpace(Model.AdditionalInfo))
{
<span class="info">Aucune information complémentaire n'a
été saisie.</span>
}
@Html.DisplayFor(m=>m.AdditionalInfo)
2017-04-08 09:17:15 +02:00
</dd>
2017-04-08 17:51:31 +02:00
2023-03-20 09:13:16 +00:00
<dt>Addition minimale
2017-04-08 17:51:31 +02:00
</dt>
2017-05-12 12:15:57 +02:00
<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)
2017-04-08 17:51:31 +02:00
</dd>
<dt>Date de la prestation</dt>
<dd>@if (Model.EventDate == null) {
2017-04-01 02:14:10 +02:00
<p>Pas de date convenue ...</p>
} else {
<label for="EventDate">
2023-03-20 09:13:16 +00:00
Event date"]</label>
2017-04-01 02:14:10 +02:00
@Html.DisplayFor(m => m.EventDate)
2017-04-08 17:51:31 +02:00
}</dd>
<dt> @Html.DisplayNameFor(m => m.Location)
</dt>
<dd>@if (Model.Location == null) {
2017-04-01 02:14:10 +02:00
<p>Pas de lieu convenu ...</p>
} else {
2023-03-20 09:13:16 +00:00
<label for="Location">Location</label>
2017-04-08 17:51:31 +02:00
@Html.DisplayFor(m => m.Location)
2017-04-01 02:14:10 +02:00
}
2017-04-08 17:51:31 +02:00
</dd>
2023-03-20 09:13:16 +00:00
<dt>Notification
2017-04-08 17:51:31 +02:00
</dt>
<dd>@if (ViewBag.GooglePayload !=null)
2017-03-24 23:33:03 +01:00
{
@if (ViewBag.GooglePayload.success>0) {
2023-03-20 09:13:16 +00:00
<h4>GCM Notifications sent</h4>
2017-03-24 23:33:03 +01:00
}
else {
if (ViewBag.GooglePayload.failure>0)
{
2023-03-20 09:13:16 +00:00
<div class="error">EGCMBUTEMAIL</div>
2017-03-24 23:33:03 +01:00
}
else {
2023-03-20 09:13:16 +00:00
<div>E-mail sent"]</div>
2017-03-24 23:33:03 +01:00
}
}
2023-03-20 09:13:16 +00:00
} else {<div>E-mail sent"]</div>}
2017-04-08 17:51:31 +02:00
</dd>
2017-05-12 12:15:57 +02:00
<dt>Numéro identifiant votre commande</dt>
<dd>@Model.Id</dd>
2023-03-20 09:13:16 +00:00
<dt>La facture
2017-06-08 17:09:06 +02:00
</dt>
2023-03-20 19:38:50 +00:00
<dd>@await Component.InvokeAsync("Bill", Model)
2017-06-08 17:09:06 +02:00
</dd>
2017-05-12 12:15:57 +02:00
2017-05-24 23:36:49 +02:00
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
2023-03-20 19:38:50 +00:00
<dd> @await Component.InvokeAsync("PayPalButton", Model)
2017-05-24 23:36:49 +02:00
</dd>
2017-04-08 17:51:31 +02:00
</dl>
2017-05-24 23:36:49 +02:00
2017-03-24 23:33:03 +01:00
</div>