PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Report
/
Reports
<?php namespace Modules\Report\Reports; use Modules\Report\Http\Models\Report; class CategorizedProductReport { /** * Categorized Product Report * @param object $request * @return array $response */ public static function getReports() { $res = (new Report)->getCategorizedProductReport(request()->categoryName); $report = []; if ($res) { foreach ($res as $key => $value) { $report[] = [ 'name' => $value->name, 'total' => formatCurrencyAmount($value->product_counts), ]; } } return $report; } }
[-] CustomerOrderReport.php
[edit]
[+]
..
[-] CategorizedProductReport.php
[edit]
[-] CommissionReport.php
[edit]
[-] SearchReport.php
[edit]
[-] ProductStockReport.php
[edit]
[-] BrandedProductReport.php
[edit]
[-] TaggedProductReport.php
[edit]
[-] SaleReport.php
[edit]
[-] CouponReport.php
[edit]