monsieurbiz/sylius-sales-reports-plugin

一个用于Sylius的简单销售报告插件

v1.1.0 2024-08-27 08:13 UTC

This package is auto-updated.

Last update: 2024-08-27 08:16:35 UTC


README

Banner of Sylus Sales Reports plugin

Sylius 销售报告

Sales Reports Plugin license Tests Status Recipe Status Security Status

一个用于Sylius的简单销售报告插件

Reports form

兼容性

安装

如果您想使用我们的食谱,可以通过运行以下命令配置您的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"

报告

可以通过点击它来排序所有报告列。

全局销售报告

Global sales report

平均销售报告

Average sales report

产品报告

Product report

产品变体报告

Product variant report

选项报告

Option report

选项值报告

Option value report

添加您自定义的报告!

有一个事件可用于添加您自定义的报告,请参阅插件中的CustomReportEvent类。

贡献

如果您想的话,可以提交一个问题或拉取请求!😘
谢谢!