Creditmemos.php 814 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sales\Block\Adminhtml\Order\View\Tab;
  7. /**
  8. * Order Credit Memos grid
  9. *
  10. * @api
  11. * @since 100.0.2
  12. */
  13. class Creditmemos extends \Magento\Framework\View\Element\Text\ListText implements
  14. \Magento\Backend\Block\Widget\Tab\TabInterface
  15. {
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public function getTabLabel()
  20. {
  21. return __('Credit Memos');
  22. }
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function getTabTitle()
  27. {
  28. return __('Order Credit Memos');
  29. }
  30. /**
  31. * {@inheritdoc}
  32. */
  33. public function canShowTab()
  34. {
  35. return true;
  36. }
  37. /**
  38. * {@inheritdoc}
  39. */
  40. public function isHidden()
  41. {
  42. return false;
  43. }
  44. }