payment urls
This commit is contained in:
parent
0ae2558d01
commit
1843955f7e
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…
Add table
Add a link
Reference in a new issue