How is Magento\Sales\Block\Adminhtml\Order\Invoice\Create\Items::canCapture() implemented and used?

Implementation

Details:

How is Magento\Sales\Model\Order\Invoice::canCapture() implemented and used?

Usage

How does Magento decide whether to show the Capture Online» dropdown on a backend’s invoice screen?.

See also: