Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/app/code/Cnc/Checkout/view/adminhtml/ui_component/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/app/code/Cnc/Checkout/view/adminhtml/ui_component/delivery_estimation_form.xml
<?xml version="1.0"?>
<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <argument name="data" xsi:type="array">
        <item name="js_config" xsi:type="array">
            <item name="provider" xsi:type="string">delivery_estimation_form.delivery_estimation_form_data_source</item>
        </item>
        <item name="label" xsi:type="string" translate="true">Delivery Estimation Form</item>
        <item name="template" xsi:type="string">templates/form/collapsible</item>
    </argument>
    <settings>
        <namespace>delivery_estimation_form</namespace>
        <dataScope>data.general</dataScope>
        <deps>
            <dep>delivery_estimation_form.delivery_estimation_form_data_source</dep>
        </deps>
        <buttons>
            <button name="save" class="Cnc\Checkout\Block\Form\DeliveryEstimation\Save"/>
            <button name="back" class="Cnc\Checkout\Block\Form\DeliveryEstimation\Back"/>
            <button name="delete" class="Cnc\Checkout\Block\Form\DeliveryEstimation\Delete"/>
        </buttons>
    </settings>
    <dataSource name="delivery_estimation_form_data_source" component="Magento_Ui/js/form/provider">
        <settings>
            <submitUrl path="delivery_estimation/deliveryestimation/save"/>
        </settings>
        <dataProvider class="Cnc\Checkout\Ui\DataProvider\DeliveryEstimationDataProvider"
                      name="delivery_estimation_form_data_source">
            <settings>
                <requestFieldName>entity_id</requestFieldName>
                <primaryFieldName>entity_id</primaryFieldName>
            </settings>
        </dataProvider>
    </dataSource>
    <fieldset name="general" sortOrder="10">
        <settings>
            <label translate="true">General</label>
        </settings>
        <field name="entity_id" sortOrder="0" formElement="hidden">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="source" xsi:type="string">entity_id</item>
                </item>
            </argument>
            <settings>
                <dataType>text</dataType>
                <label translate="true">Entity ID</label>
                <dataScope>entity_id</dataScope>
            </settings>
        </field>
        <field name="country_code" sortOrder="00" formElement="input">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="source" xsi:type="string">country_code</item>
                </item>
            </argument>
            <settings>
                <dataType>string</dataType>
                <label translate="true">Country Code</label>
                <dataScope>country_code</dataScope>
            </settings>
        </field>
        <field name="country_name" sortOrder="10" formElement="input">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="source" xsi:type="string">country_name</item>
                </item>
            </argument>
            <settings>
                <dataType>string</dataType>
                <label translate="true">Country Name</label>
                <dataScope>country_name</dataScope>
            </settings>
        </field>
        <field name="estimation" sortOrder="20" formElement="textarea">
            <argument name="data" xsi:type="array">
                <item name="config" xsi:type="array">
                    <item name="source" xsi:type="string">estimation</item>
                </item>
            </argument>
            <settings>
                <dataType>string</dataType>
                <label translate="true">Estimation</label>
                <dataScope>estimation</dataScope>
            </settings>
        </field>
    </fieldset>
</form>

Spamworldpro Mini