PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Report
/
Reports
<?php namespace Modules\Report\Reports; use Modules\Report\Http\Models\Report; class BrandedProductReport { /** * Product By Brand * @param object $request * @return array $response */ public static function getReports() { $res = (new Report)->getBrandReport(request()->brandName); $report = []; if ($res) { foreach ($res as $key => $value) { $report[] = [ 'name' => $value->name, 'total' => formatCurrencyAmount($value->product_count), ]; } 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]