雪巴哈/sylius-delivery-slip-plugin

Sylius发货单插件。

安装次数: 2,160

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放性问题: 0

语言:Twig

类型:sylius-plugin

0.1.0 2021-09-28 07:29 UTC

This package is auto-updated.

Last update: 2024-09-28 15:18:39 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version

使用Sylius发票插件添加发货单下载(PDF)。

安装

  1. 请确保已安装Sylius发票插件

  2. 使用Composer安装插件

    composer require snowbaha/sylius-delivery-slip-plugin
  3. 将插件类添加到您的bundles

    $bundles = [
        Snowbaha\SyliusDeliverySlipPlugin\SnowbahaSyliusDeliverySlipPlugin::class => ['all' => true],
    ];
  4. 导入配置

    imports:
        - { resource: "@SnowbahaSyliusDeliverySlipPlugin/Resources/config/config.yml" }
  5. 导入路由

    snowbaha_sylius_delivery_slip_plugin_admin:
        resource: "@SnowbahaSyliusDeliverySlipPlugin/Resources/config/app/routing/admin.yml"
        prefix: /%sylius_admin.path_name%
  6. 清除缓存

    php bin/console cache:clear
  7. 自定义翻译和PDF模板,更多信息请参阅文档