Frage

On the orders grid, when using the Action Print Invoices, which controller is used to generate the invoices?

War es hilfreich?

Lösung

You can see by the source code that the called path is admin/sales_invoice/pdfinvoices. So you can look for a pdfinvoicesAction function inside the code: you will find two, one for each of this files: app/code/core/Mage/Adminhtml/Controller/Sales/Invoice.php app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php

For the admin router, the file you're looking for (admin/sales_invoice) is: app/code/core/Mage/Adminhtml/controllers/Sales/InvoiceController.php, that extends the first file.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange
scroll top