snowbaha/sylius-delivery-slip-plugin

Delivery slip plugin for Sylius.

Installs: 2 278

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:Twig

Type:sylius-plugin

0.1.0 2021-09-28 07:29 UTC

This package is auto-updated.

Last update: 2024-10-28 15:26:28 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version

Add a delivery slip download (PDF) with the Sylius invoice plugin.

Installation

  1. Be sure to have Sylius Invoice Plugin installed

  2. Require plugin with composer:

    composer require snowbaha/sylius-delivery-slip-plugin
  3. Add plugin class to your bundles:

    $bundles = [
        Snowbaha\SyliusDeliverySlipPlugin\SnowbahaSyliusDeliverySlipPlugin::class => ['all' => true],
    ];
  4. Import configuration:

    imports:
        - { resource: "@SnowbahaSyliusDeliverySlipPlugin/Resources/config/config.yml" }
  5. Import routing:

    snowbaha_sylius_delivery_slip_plugin_admin:
        resource: "@SnowbahaSyliusDeliverySlipPlugin/Resources/config/app/routing/admin.yml"
        prefix: /%sylius_admin.path_name%
  6. Clear cache:

    php bin/console cache:clear
  7. custom translations and PDF template See more at the documentation