monsieurbiz / sylius-sales-reports-plugin
一个用于Sylius的简单销售报告插件
v1.1.0
2024-08-27 08:13 UTC
Requires
- php: ^8.0
- sylius/sylius: >=1.11 <1.14
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.16
- phpmd/phpmd: ^2.15
- phpspec/phpspec: ^7.0
- phpstan/phpstan: ^1.8.4
- phpstan/phpstan-doctrine: ^1.3.2
- phpstan/phpstan-webmozart-assert: ^1.1
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2024-08-27 08:16:35 UTC
README
Sylius 销售报告
一个用于Sylius的简单销售报告插件
兼容性
安装
如果您想使用我们的食谱,可以通过运行以下命令配置您的composer.json:
composer config --no-plugins --json extra.symfony.endpoint '["https://api.github.com/repos/monsieurbiz/symfony-recipes/contents/index.json?ref=flex/master","flex://defaults"]'
composer require monsieurbiz/sylius-sales-reports-plugin
更改您的config/bundles.php
文件,为插件添加一行
<?php return [ //.. MonsieurBiz\SyliusSalesReportsPlugin\MonsieurBizSyliusSalesReportsPlugin::class => ['all' => true], ];
最后在config/routes/monsieurbiz_sylius_sales_reports_plugin.yaml
中导入路由
monsieurbiz_sales_reports_plugin: resource: "@MonsieurBizSyliusSalesReportsPlugin/Resources/config/routing.yaml"
报告
可以通过点击它来排序所有报告列。
全局销售报告
平均销售报告
产品报告
产品变体报告
选项报告
选项值报告
添加您自定义的报告!
有一个事件可用于添加您自定义的报告,请参阅插件中的CustomReportEvent
类。
贡献
如果您想的话,可以提交一个问题或拉取请求!😘
谢谢!