Reports
This commit is contained in:
parent
e1745c40be
commit
220d70b54d
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class ReportController extends BaseController
|
|||
|
||||
public function showReportList()
|
||||
{
|
||||
$oldesDate = DB::select("SELECT `year`, `month` FROM `go-mysql-admin`.storage WHERE tenant = " . (int)session("current_tenant_id") . " ORDER BY `date` ASC LIMIT 1;")[0];
|
||||
$oldesDate = DB::select("SELECT `year`, `month` FROM storage WHERE tenant = " . (int)session("current_tenant_id") . " ORDER BY `date` ASC LIMIT 1;")[0];
|
||||
$avalibleReports = [];
|
||||
for ($i = $oldesDate->year; $i <= date("Y"); $i++) {
|
||||
for ($m = 1; $m <= 12; $m++) {
|
||||
|
|
Loading…
Reference in a new issue