temando_pickup_index.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  5. */
  6. -->
  7. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  8. <body>
  9. <referenceBlock name="page.actions.toolbar">
  10. <block class="Magento\Backend\Block\Template" name="temando_pickup_listing_direct_access"
  11. template="Temando_Shipping::pickup/form/forward.phtml">
  12. <arguments>
  13. <argument name="viewModel" xsi:type="object">Temando\Shipping\ViewModel\Pickup\PickupUrl</argument>
  14. <argument name="jsLayout" xsi:type="array">
  15. <item name="components" xsi:type="array">
  16. <item name="pickup-forward" xsi:type="array">
  17. <item name="component" xsi:type="string">Temando_Shipping/js/view/pickup/pickup-forward-form</item>
  18. <item name="config" xsi:type="array">
  19. <item name="template" xsi:type="string">Temando_Shipping/pickup/pickup-forward-form</item>
  20. </item>
  21. </item>
  22. </item>
  23. </argument>
  24. </arguments>
  25. </block>
  26. </referenceBlock>
  27. <referenceContainer name="content">
  28. <uiComponent name="temando_pickup_listing"/>
  29. </referenceContainer>
  30. </body>
  31. </page>