Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Invoice.php
Go to the documentation of this file.
1 <?php
7 
13 class Invoice extends \Magento\Backend\Block\Widget\Grid\Container
14 {
20  protected function _construct()
21  {
22  $this->_controller = 'adminhtml_invoice';
23  $this->_blockGroup = 'Magento_Sales';
24  $this->_headerText = __('Invoices');
25  parent::_construct();
26  $this->buttonList->remove('add');
27  }
28 
34  public function getPaymentInfoHtml()
35  {
36  return $this->getChildHtml('payment_info');
37  }
38 }
__()
Definition: __.php:13