diff --git a/Yavsc/Views/HairCutCommand/CommandConfirmation.cshtml b/Yavsc/Views/HairCutCommand/CommandConfirmation.cshtml index 3fc840e9..df7a943d 100644 --- a/Yavsc/Views/HairCutCommand/CommandConfirmation.cshtml +++ b/Yavsc/Views/HairCutCommand/CommandConfirmation.cshtml @@ -79,25 +79,14 @@ -
Facture
-
TODO
+
TODO Facture
+
Facture
@Html.DisplayNameFor(m=>m.Regularisation)
-
@Html.DisplayFor(m=>m.Regularisation,new { PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString() })
+
@Html.DisplayFor(m=>m.Regularisation,new { + PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString(), + SuccessUrl = "/HairCutCommand/Details/"+Model.Id.ToString() })
- - - - - - - - - - - - - diff --git a/Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml b/Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml index f59206d4..6cf25395 100644 --- a/Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml +++ b/Yavsc/Views/Shared/DisplayTemplates/HairCutQuery.cshtml @@ -21,7 +21,10 @@
@Html.DisplayFor(m=>m.AdditionalInfo)
@Html.DisplayNameFor(m=>m.Regularisation)
-
@Html.DisplayFor(m=>m.Regularisation,new { PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString() })
+
@Html.DisplayFor(m=>m.Regularisation,new { + PaymentUrl = "/api/haircut/createpayment/"+Model.Id.ToString(), + SuccessUrl = "/HairCutCommand/Details/"+Model.Id.ToString() + })