Files
2026-09-15 10:35:56 +08:00

16 lines
907 B
XML

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments><argument name="collections" xsi:type="array">
<item name="esun_customer_vat_listing_data_source" xsi:type="string">EsunCustomerVatGridCollection</item>
</argument></arguments>
</type>
<virtualType name="EsunCustomerVatGridCollection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
<arguments>
<argument name="mainTable" xsi:type="string">esun_customer_vat</argument>
<argument name="resourceModel" xsi:type="string">Esun\CustomerVat\Model\ResourceModel\VatApplication</argument>
</arguments>
</virtualType>
</config>