Fix on invoices, add delivery reference, wip on dashboard concurrency requests designed on template
This commit is contained in:
@@ -13,9 +13,13 @@ class HomeController extends Controller
|
||||
$this->middleware('auth');
|
||||
}
|
||||
|
||||
public function index()
|
||||
public function index(Request $request, $period = false)
|
||||
{
|
||||
$data = Dashboards::getStats();
|
||||
$data = $request->all();
|
||||
$start = $request->input('start');
|
||||
$end = $request->input('end');
|
||||
$data = Dashboards::getStats($start, $end);
|
||||
// dump($data);
|
||||
return view('Admin.Shop.Dashboard.index', $data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user