AdminSourceSelectionFormSection.xml 1.6 KB

1234567891011121314151617181920212223
  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="AdminSourceSelectionFormSection">
  11. <element name="sourceSelectionAlgorithmToggle" type="button" selector=".action-toggle.primary.save"/>
  12. <element name="selectSourcePriority" type="button" selector=".item[data-ui-id='source-selection-algorithms-button-item-0']"/>
  13. <element name="proceedToShipment" type="button" selector="#save[data-ui-id='save-button']"/>
  14. <element name="sourceSelection" type="select" selector="select[name='sourceCode']"/>
  15. </section>
  16. <section name="AdminSourceSelectionOrderedItemsGrid">
  17. <element name="rowProductSku" type="text" selector=".data-row[data-repeat-index='{{productRow}}'] div[data-index='sku']" parameterized="true"/>
  18. <element name="rowQtyToShip" type="text" selector=".data-row[data-repeat-index='{{productRow}}'] div[data-index='qtyToShip']" parameterized="true"/>
  19. <element name="rowAvailableSourcesName" type="text" selector=".data-row[data-repeat-index='{{productRow}}'] td[data-index='sources'] .data-row[data-repeat-index='{{sourceRow}}'] span[data-index='sourceName']" parameterized="true"/>
  20. <element name="rowAvailableSourcesQtyToDeduct" type="input" selector=".data-row[data-repeat-index='{{productRow}}'] td[data-index='sources'] input[name='items[{{productRow}}][sources][{{sourceRow}}][qtyToDeduct]']" parameterized="true"/>
  21. </section>
  22. </sections>