Creditmemo.php 634 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Block\Adminhtml;
  7. /**
  8. * Adminhtml sales creditmemos block
  9. *
  10. * @author Magento Core Team <core@magentocommerce.com>
  11. */
  12. class Creditmemo extends \Magento\Backend\Block\Widget\Grid\Container
  13. {
  14. /**
  15. * @return void
  16. */
  17. protected function _construct()
  18. {
  19. $this->_controller = 'adminhtml_creditmemo';
  20. $this->_blockGroup = 'Magento_Sales';
  21. $this->_headerText = __('Credit Memos');
  22. parent::_construct();
  23. $this->buttonList->remove('add');
  24. }
  25. }