yavsc/Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml

45 lines
1,009 B
Text
Raw Normal View History

2017-04-08 09:17:15 +02:00
@model HairCutQuery
2017-06-08 17:09:06 +02:00
@{
var paid = false;
if (Model.PaymentId!=null) {
if (Model.Regularisation!=null) {
if (Model.Regularisation.IsSuccess()) {
paid=true;
}
}
}
}
2017-04-08 17:51:31 +02:00
<dl class="dl-horizontal">
2017-04-08 09:17:15 +02:00
<dt>@Html.DisplayNameFor(m=>m.Prestation)
</dt>
<dd>@Html.DisplayFor(m=>m.Prestation)
</dd>
<dt>@Html.DisplayNameFor(m=>m.PerformerProfile)
</dt>
<dd>@Html.DisplayFor(m=>m.PerformerProfile)
</dd>
<dt>@Html.DisplayNameFor(m=>m.EventDate)
</dt>
<dd>@Html.DisplayFor(m=>m.EventDate)
</dd>
<dt>@Html.DisplayNameFor(m=>m.Location)
</dt>
<dd>@Html.DisplayFor(m=>m.Location)
</dd>
2017-04-08 17:51:31 +02:00
<dt>@Html.DisplayNameFor(m=>m.AdditionalInfo)
</dt>
<dd>@Html.DisplayFor(m=>m.AdditionalInfo)
</dd>
2017-06-08 00:26:29 +02:00
<dt>@SR["La facture"]
</dt>
2017-06-08 17:09:06 +02:00
<dd>@await Component.InvokeAsync("Bill", "Brush", Model, OutputFormat.Html, true, paid )
2017-06-08 00:26:29 +02:00
</dd>
2017-05-12 12:15:57 +02:00
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
2017-05-24 23:36:49 +02:00
<dd>
@Component.Invoke("PayPalButton", Model, "haircut", "HairCutCommand" )
2017-05-16 02:16:09 +02:00
</dd>
2017-04-08 09:17:15 +02:00
</dl>