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/Payment/etc/adminhtml/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/old/app/code/Cnc/Payment/etc/adminhtml/system.xml
<?xml version="1.0" ?>
<!--
/**
 * Copyright (c) 2020 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved.
 * https://opensource.org/licenses/OSL-3.0  Open Software License (OSL 3.0)
 * Cnc
 * Radosław Stępień <[email protected]> <[email protected]>
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <section id="payment">
            <group id="offline_payment" translate="label" sortOrder="220" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Offline payment (30 days)</label>
                <field id="active" translate="label comment" sortOrder="10" type="select" showInDefault="1" showInWebsite="1" showInStore="0">
                    <label>Enable</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                </field>
                <field id="title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Title</label>
                </field>
                <field id="file_upload" translate="label" type="Magento\Config\Block\System\Config\Form\Field\File" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Instructions file</label>
                    <backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
                    <upload_dir config="system" scope_info="1">offline_payment_instructions</upload_dir>
                </field>
            </group>
            <group id="payment_on_receipt_invoice" translate="label" sortOrder="230" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Payment on receipt of invoice</label>
                <field id="active" translate="label comment" sortOrder="10" type="select" showInDefault="1" showInWebsite="1" showInStore="0">
                    <label>Enable</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                </field>
                <field id="title" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Title</label>
                </field>
                <field id="file_upload" translate="label" type="Magento\Config\Block\System\Config\Form\Field\File" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Instructions file</label>
                    <backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
                    <upload_dir config="system" scope_info="1">payment_on_receipt_invoice_instructions</upload_dir>
                </field>
            </group>
            <group id="banktransfer">
                <field id="file_upload" translate="label" type="Magento\Config\Block\System\Config\Form\Field\File" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="1">
                    <label>Instructions file</label>
                    <backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
                    <upload_dir config="system" scope_info="1">banktransfer_instructions</upload_dir>
                </field>
            </group>
        </section>
        <section id="additional_payment_options" translate="label" type="text" sortOrder="400" showInDefault="1" showInWebsite="1" showInStore="1">
            <label>Additional Payment Options</label>
            <tab>sales</tab>
            <resource>Magento_Payment::payment</resource>
            <group id="paypal" translate="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>Paypal</label>
                <field id="max_order_total" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1">
                    <label>Maximum Order Total</label>
                    <validate>validate-number validate-zero-or-greater</validate>
                </field>
            </group>
        </section>
    </system>
</config>

Spamworldpro Mini