Frage

I want to allow the invoice save action once the order is in processing state for this i have to add some logics inside the Magento\Sales\Controller\Adminhtml\Order\Invoice save file. please advice me

War es hilfreich?

Lösung

etc/di.xml

create a file for this xx\yy\Controller\Adminhtml\Order\Invoice\Save.php inside the save.php file write your own logic.

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