# fluent-cart/1.5.0/app/Modules/ReportingModule/SalesReport.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.5.0. 21 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.5.0/code/app/Modules/ReportingModule/SalesReport.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.5.0/raw/app/Modules/ReportingModule/SalesReport.php
- Modified: 2025-10-14T16:36:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.5.0/code/app/Modules/ReportingModule/SalesReport.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Modules\ReportingModule;

use FluentCart\App\Services\Report\OrderReportService;

class SalesReport
{
    /**
     * Get Order Sales by a date range which will contain
     * @return array contains
     */
    public function getSalesGrowth($filters = []): array
    {
        $service = OrderReportService::make($filters)
            ->setSelects(['id', 'type', 'customer_id', 'total_amount', 'discount_total', 'total_refund', 'created_at', 'currency'])
            ->generate();
        return ($service->getYearlySaleReport());
    }
}

```
