In Magento 1, you can enable capture options for an invoice by adding
protected $_canCapture = true;
to app\code\core\Mage\Payment\Model\Method\METHODNAME.php
In Magento 2, how can this be done?
I'm trying to do this to the purchase order method so invoices can be created but not marked as paid.