Identity reloaded
This commit is contained in:
parent
8f8ee6383f
commit
135003a913
33 changed files with 195 additions and 180 deletions
|
|
@ -1,25 +1,25 @@
|
|||
@model NominativeServiceCommand
|
||||
|
||||
@if (Model!=null && Model.PaymentId!=null) {
|
||||
|
||||
@if (Model.Regularisation.Executor.Id == User.GetUserId()) {
|
||||
|
||||
@if (Model.Regularization.Executor.Id == User.GetUserId()) {
|
||||
<text>
|
||||
Votre paiment
|
||||
</text>
|
||||
} else {
|
||||
<text>
|
||||
Le paiment de @Html.DisplayFor(m=>m.Regularisation.Executor.UserName)
|
||||
Le paiment de @Html.DisplayFor(m=>m.Regularization.Executor.UserName)
|
||||
</text>
|
||||
}
|
||||
<text> :
|
||||
<text> :
|
||||
|
||||
</text>
|
||||
<label>@Model.GetIsAcquitted()
|
||||
<input type="checkbox" checked="@Model.GetIsAcquitted()" disabled/>
|
||||
<a asp-controller="Manage" asp-action="PaymentInfo" asp-route-id="@Model.Regularisation.CreationToken">@Model.Regularisation.CreationToken</a>
|
||||
<input type="checkbox" checked="@Model.GetIsAcquitted()" disabled/>
|
||||
<a asp-controller="Manage" asp-action="PaymentInfo" asp-route-id="@Model.Regularization.CreationToken">@Model.Regularization.CreationToken</a>
|
||||
</label>
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@if (!Model.GetIsAcquitted()) {
|
||||
<div id="paypalzone"></div>
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@
|
|||
</dt>
|
||||
<dd>@await Component.InvokeAsync("Bill", Model)
|
||||
</dd>
|
||||
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
|
||||
<dd>
|
||||
<dt>@Html.DisplayNameFor(m=>m.Regularization)</dt>
|
||||
<dd>
|
||||
@await Component.InvokeAsync("PayPalButton", Model)
|
||||
</dd>
|
||||
</dl>
|
||||
|
|
|
|||
Loading…
Reference in a new issue