payment info

This commit is contained in:
2017-05-26 03:35:56 +02:00
parent 9b734f2b9a
commit 6bc6bd23a3
5 changed files with 65 additions and 9 deletions

View File

@ -1,8 +1,8 @@
@{
ViewData["Title"] = "Le paiment "+ViewData["id"]+" a échoué";
}
<dl>
<dt> Le paiment @ViewData["id"] a échoué
</dt>
<dd> @ViewData["error"]
</dd>
</dl>
<h2>@ViewData["Title"].</h2>
<p>
@ViewData["error"]
</p>

View File

@ -0,0 +1,31 @@
@model Yavsc.ViewModels.PayPal.PaymentInfo
@{
ViewData["Title"] = "Informations sur le paiment "+ViewData["id"];
}
<h2>@ViewData["Title"].</h2>
<p>
@if (Model.DbContent.Executor.Id == User.GetUserId()) {
<text>
Votre paiment
</text>
} else {
<text>
Le paiment de @Html.DisplayFor(m=>m.DbContent.Executor.UserName)
</text>
}
<text> :
<dl>
<dt>
[@Model.DbContent.CreationToken]<br/>
@Html.DisplayFor(m=>m.DetailsFromPayPal)
</dt>
<dd>
</dd>
</dl>
</text>
</p>