PHP code example of webgriffe / sylius-italian-invoiceable-order-plugin

1. Go to this page and download the library: Download webgriffe/sylius-italian-invoiceable-order-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

webgriffe / sylius-italian-invoiceable-order-plugin example snippets


       Webgriffe\SyliusItalianInvoiceableOrderPlugin\WebgriffeSyliusItalianInvoiceableOrderPlugin::class => ['all' => true],
   
yaml
    imports:
        - { resource: "@WebgriffeSyliusItalianInvoiceableOrderPlugin/config/config.php" }
    
twig
    {% macro address(address) %}
        <address>
            {% eet }}<br/>
            {{ address.city }}<br/>
            {% if address|sylius_province_name is not empty %}
                {{ address|sylius_province_name }}<br/>
            {% endif %}
            {{ address.countryCode|sylius_country_name|upper }} {{ address.postcode }}
        </address>
    {% endmacro %}