payment info

This commit is contained in:
Paul Schneider 2017-05-26 03:35:56 +02:00
commit 8b207b6461
5 changed files with 65 additions and 9 deletions

View file

@ -1,6 +1,6 @@
@model NominativeServiceCommand
@inject IOptions<PayPalSettings> PayPalSettings
@Model.PaymentId
@if (Model!=null && Model.PaymentId!=null) {
@if (Model.Regularisation.Executor.Id == User.GetUserId()) {
@ -13,7 +13,7 @@
</text>
}
<text> :
</text><a asp-controller="Manage" asp-action="PaymentInfo" asp-route-id="@Model.Regularisation.PaypalPaymentId">@Model.Regularisation.PaypalPaymentId</a>
</text><a asp-controller="Manage" asp-action="PaymentInfo" asp-route-id="@Model.Regularisation.CreationToken">@Model.Regularisation.CreationToken</a>
} else {
<div id="paypalzone"></div>