add new metrics, graph metrics, prepare basket to storage
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
namespace App\Charts\Shop;
|
||||
|
||||
use Akaunting\Apexcharts\Chart;
|
||||
use App\Repositories\Shop\OrderStatistics;
|
||||
use App\Repositories\Shop\OrderMetrics;
|
||||
|
||||
class Order
|
||||
{
|
||||
public static function getMonthly()
|
||||
{
|
||||
$data = OrderStatistics::getTotalMonthly();
|
||||
$data = OrderMetrics::getTotalMonthly();
|
||||
|
||||
return (new Chart)->setType('bar')
|
||||
->setWidth('100%')
|
||||
|
||||
Reference in New Issue
Block a user