Fix clone button in edit payment request (Fix #1414)

This commit is contained in:
nicolas.dorier 2020-03-26 22:54:47 +09:00
parent 10e52f08be
commit 0df5e7d7a3
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -106,7 +106,7 @@
asp-action="ListInvoices"
asp-controller="Invoice"
asp-route-searchterm="@($"orderid:{PaymentRequestRepository.GetOrderIdForPaymentRequest(Model.Id)}")">Invoices</a>
<a class="btn btn-secondary" asp-action="ClonePaymentRequest" id="@Model.Id">Clone</a>
<a class="btn btn-secondary" asp-route-id="@this.Context.GetRouteValue("id")" asp-action="ClonePaymentRequest" id="@Model.Id">Clone</a>
}
<a class="btn btn-secondary" target="_blank" asp-action="GetPaymentRequests">Back to list</a>
</div>