Как я могу удалить поле Номер плательщика НДС в форме администратора адреса клиента?
4
Author: Teja Bhagavan Kollepara, 2018-07-06
1 answers
Создать customer_form.xml
файл в пользовательский модуль
app/code/Vendor/Module/view/adminhtml/ui_component/customer_form.xml
С кодом ниже
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
<fieldset name="address">
<field name="vat_id" formElement="input">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="componentDisabled" xsi:type="boolean">true</item>
</item>
</argument>
<settings>
<dataType>text</dataType>
</settings>
</field>
</fieldset>
</form>
Было бы удалить номер НДС с адреса клиента в Admin.
1
Author: Suresh Chikani, 2018-07-10 11:42:33