payment urls

vnext
Paul Schneider 7 years ago
parent be8d9900a8
commit d0ef3b14eb
2 changed files with 9 additions and 17 deletions

@ -79,25 +79,14 @@
<environment names="Development"> <environment names="Development">
<dt>Facture</dt> <dt>TODO Facture</dt>
<dd>TODO</dd> <dd>Facture</dd>
</environment> </environment>
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt> <dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
<dd>@Html.DisplayFor(m=>m.Regularisation,new { PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString() })</dd> <dd>@Html.DisplayFor(m=>m.Regularisation,new {
PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString(),
SuccessUrl = "/HairCutCommand/Details/"+Model.Id.ToString() })</dd>
</dl> </dl>
</div> </div>

@ -21,7 +21,10 @@
<dd>@Html.DisplayFor(m=>m.AdditionalInfo) <dd>@Html.DisplayFor(m=>m.AdditionalInfo)
</dd> </dd>
<dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt> <dt>@Html.DisplayNameFor(m=>m.Regularisation)</dt>
<dd>@Html.DisplayFor(m=>m.Regularisation,new { PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString() })</dd> <dd>@Html.DisplayFor(m=>m.Regularisation,new {
PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString(),
SuccessUrl = "/HairCutCommand/Details/"+Model.Id.ToString()
})</dd>
</dl> </dl>

Loading…