AdminItemsOrderedSection.xml 1.9 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  10. <section name="AdminItemsOrderedSection">
  11. <element name="product" type="text"
  12. selector="tr[data-repeat-index='{{arg1}}'] td[data-index='product'] span.admin__field-value"
  13. parameterized="true"/>
  14. <element name="sku" type="text"
  15. selector="tr[data-repeat-index='{{arg1}}'] td[data-index='sku'] span[name='items[{{arg1}}][sku]']"
  16. parameterized="true"/>
  17. <element name="qtyToShip" type="text"
  18. selector="tr[data-repeat-index='{{arg1}}'] td[data-index='qtyToShip'] div[data-index='qtyToShip']"
  19. parameterized="true"/>
  20. <element name="availableSourcesSource" type="text"
  21. selector="tr[data-repeat-index='{{arg1}}'] td[data-index='sources'] table[data-index='sources'] tr.data-row[data-repeat-index='{{arg2}}'] span[data-index='sourceName']"
  22. parameterized="true"/>
  23. <element name="availableSourcesQtyAvailable" type="text"
  24. selector="tr[data-repeat-index='{{arg1}}'] td[data-index='sources'] table[data-index='sources'] tr.data-row[data-repeat-index='{{arg2}}'] span[data-index='qtyAvailable']"
  25. parameterized="true"/>
  26. <element name="availableSourcesQtyToDeduct" type="input"
  27. selector="tr[data-repeat-index='{{arg1}}'] td[data-index='sources'] table[data-index='sources'] tr.data-row[data-repeat-index='{{arg2}}'] div[data-index='qtyToDeduct'] input[name='items[{{arg1}}][sources][{{arg2}}][qtyToDeduct]']"
  28. parameterized="true"/>
  29. </section>
  30. </sections>