monsieurbiz/sylius-sales-reports-plugin

A simple plugin to have sales reports in Sylius

Installs: 20 785

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 7

Forks: 13

Open Issues: 4

Type:sylius-plugin

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

This package is auto-updated.

Last update: 2024-12-27 09:00:03 UTC


README

Banner of Sylus Sales Reports plugin

Sylius Sales Reports

Sales Reports Plugin license Tests Status Recipe Status Security Status

A simple plugin to have sales reports in Sylius

Reports form

Compatibility

Installation

If you want to use our recipes, you can configure your composer.json by running:

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

Change your config/bundles.php file to add the line for the plugin :

<?php

return [
    //..
    MonsieurBiz\SyliusSalesReportsPlugin\MonsieurBizSyliusSalesReportsPlugin::class => ['all' => true],
];

Finally import the routes in config/routes/monsieurbiz_sylius_sales_reports_plugin.yaml :

monsieurbiz_sales_reports_plugin:
    resource: "@MonsieurBizSyliusSalesReportsPlugin/Resources/config/routing.yaml"

Reports

All reports columns are sortable by clicking on it.

Global sales report

Global sales report

Average sales report

Average sales report

Product report

Product report

Product variant report

Product variant report

Option report

Option report

Option value report

Option value report

Add your custom reports !

An event is available to add your custom reports, see CustomReportEvent class in the plugin.

Contributing

You can open an issue or a Pull Request if you want! 😘
Thank you!