I want to know that form which file this label is coming:

label on page

New contributor
aallll is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Write more and post full screenshot – Sohel Rana Jan 14 at 5:48

This section comes from the Magento_InventoryShippingAdminUi module, specially it is defined in:

  • For new: magento/module-inventory-shipping-admin-ui/view/adminhtml/layout/adminhtml_order_shipment_new.xml
  • For view: magento/module-inventory-shipping-admin-ui/view/adminhtml/layout/adminhtml_order_shipment_view.xml

Template is: magento/module-inventory-shipping-admin-ui/view/adminhtml/templates/shipment/inventory.phtml

 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.

// @codingStandardsIgnoreFile

/** @var \Magento\InventoryShippingAdminUi\Block\Adminhtml\Shipment\Inventory $block */

$sourceCode = $block->getSourceCode();

<?php if ($sourceCode): ?>
<section class="admin__page-section inventory">
    <div class="admin__page-section-title">
        <span class="title"><?= $block->escapeHtml(__('Inventory')) ?></span>
    <div class="admin__page-section-content">
        <?= $block->escapeHtml(__('Source:')) ?>
        <?= $block->escapeHtml($block->getSourceName($sourceCode)) ?>
<input name="sourceCode" type="hidden" value="<?= /* @escapeNotVerified */ $sourceCode ?>">
<?php endif; ?>

Your Answer

aallll is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.