OverWrite Order Details - Report payment not works

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 年 前
Hello!
I overWrite Details View in Nop.Web for orders in the plugin. I just copied and add some additional buttons, with saving original code. And now button Report payment not works. Could u please help me with this?
Button code:

                       @*<li class="repost">
                                    @using (Html.BeginRouteForm("OrderDetails", FormMethod.Post))
                                    {
                                        @Html.AntiForgeryToken()
                                        <input type="submit" name="repost-payment" value="@T("Order.RetryPayment")" class="button-2 re-order-button" />
                                        <p class="hint">
                                            <em>@T("Order.RetryPayment.Hint")</em>
                                        </p>
                                    }
                                </li>*@



How to return into original route???
7 年 前
I trying to make like

                                <div class="page-title">
                                    <a href="@Url.RouteUrl("RePostPayment", new { orderId = Model.Id })" class="t-button">@T("Order.RetryPayment")</a>
                                </div


But seems RouteUrl is incorrect. Could u please assist me how to make it better??
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.