In the opencart version 3.0.2.0 when you go Sales -> Orders, select an order and click on the top right button to print the invoice, then invoice opens in the same window.
In versions 1.5 it opened in a new tab, is there a way to change it?
I've seen in admin / view / template / sale / order_list.twig that there is this:
Code: Select all
<button type="submit" id="button-invoice" form="form-order" formaction="{{ invoice }}" formtarget="_blank" data-toggle="tooltip" title="{{ button_invoice_print }}" class="btn btn-info"><i class="fa fa-print"></i></button> </ i>
Does anyone have any idea?