Files
wticreatorstudio/Modules/AdminReport/Services/SaleReportService.php
T
2024-02-12 22:54:20 -05:00

23 lines
527 B
PHP

<?php
namespace Modules\AdminReport\Services;
use Illuminate\Support\Facades\Validator;
use Modules\AdminReport\Repositories\SaleReportRepository;
use Illuminate\Support\Arr;
class SaleReportService
{
protected $saleReportRepo;
public function __construct(saleReportRepository $saleReportRepo)
{
$this->saleReportRepo = $saleReportRepo;
}
public function getSaleReportByUser($seller_id,$sale_type)
{
return $this->saleReportRepo->getSaleReportByUser($seller_id,$sale_type);
}
}