This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head><css src="Esun_CustomerVat::css/vat-prompt.css"/></head>
<body><referenceBlock name="checkout.cart">
<block class="Esun\CustomerVat\Block\Cart\VatPrompt" name="esun.cart.vat.prompt" as="vat_prompt"
template="Esun_CustomerVat::cart/vat-prompt.phtml" cacheable="false"/>
</referenceBlock></body>
</page>
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="Magento\Customer\Block\Account\SortLinkInterface"
name="customer-account-navigation-vat-link">
<arguments>
<argument name="path" xsi:type="string">esun_customer_vat/vat/index</argument>
<argument name="label" xsi:type="string" translate="true">VAT Number Management</argument>
<argument name="sortOrder" xsi:type="number">245</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head><css src="Esun_CustomerVat::css/vat-prompt.css"/></head>
</page>
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<update handle="esun_customer_vat_vat_new"/>
</page>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<update handle="customer_account"/>
<head><css src="Esun_CustomerVat::css/vat-account.css"/></head>
<body>
<referenceContainer name="content">
<block class="Esun\CustomerVat\Block\Account\Vat" name="esun.customer.vat.list"
template="Esun_CustomerVat::account/vat/list.phtml" cacheable="false"/>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<update handle="customer_account"/>
<head><css src="Esun_CustomerVat::css/vat-account.css"/></head>
<body>
<referenceContainer name="content">
<block class="Esun\CustomerVat\Block\Account\Vat" name="esun.customer.vat.form"
template="Esun_CustomerVat::account/vat/form.phtml" cacheable="false"/>
</referenceContainer>
</body>
</page>