Hi,
How can I easily reverse the sorting of invoices? Now they are shown from oldest to newest, so the last page shows the latest invoice (in this case you have to go to tab 282):
Fyi, I have also seen that the link to an invoice detail page does not work. For this I made the following adjustment in InvoicesList.cshtml (/Swift/Files/Templates/Designs/Swift/eCom/IntegrationCustomerCenter/InvoicesList_Nussbaumer.cshtml):
string baseUrl = "/Default.aspx?ID=2234";
<a href="@baseUrl@GetString("Ecom:IntegrationCustomerCenter.Invoice.Link")&itemID=@orderId" class="btn btn-link p-0" title="@Translate("View details")"><span class="icon-2">@ReadFile(iconPath + "external-link.svg")</span></a>
<a href="@baseUrl@GetString("Ecom:IntegrationCustomerCenter.Invoice.Link")&itemID=@orderId" class="btn p-0 text-start" title="@Translate("View order")">@orderDate</a>
<a href="@baseUrl@GetString("Ecom:IntegrationCustomerCenter.Invoice.Link")&itemID=@orderId" class="btn p-0 text-start" title="@Translate("View order")">@Translate("No.") @orderId</a>
Kind regards,
Caro De Weze