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
Requires
- php: ^7.4 || ^8.0
- sylius/invoicing-plugin: ^0.18
Requires (Dev)
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.74
- phpstan/phpstan-doctrine: 0.12.31
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.12
- phpunit/phpunit: ^9.5
- sylius-labs/coding-standard: ^3.1
This package is auto-updated.
Last update: 2024-10-28 15:26:28 UTC
README
Add a delivery slip download (PDF) with the Sylius invoice plugin.
Installation
-
Be sure to have Sylius Invoice Plugin installed
-
Require plugin with composer:
composer require snowbaha/sylius-delivery-slip-plugin
-
Add plugin class to your
bundles
:$bundles = [ Snowbaha\SyliusDeliverySlipPlugin\SnowbahaSyliusDeliverySlipPlugin::class => ['all' => true], ];
-
Import configuration:
imports: - { resource: "@SnowbahaSyliusDeliverySlipPlugin/Resources/config/config.yml" }
-
Import routing:
snowbaha_sylius_delivery_slip_plugin_admin: resource: "@SnowbahaSyliusDeliverySlipPlugin/Resources/config/app/routing/admin.yml" prefix: /%sylius_admin.path_name%
-
Clear cache:
php bin/console cache:clear
-
custom translations and PDF template See more at the documentation