mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 18:48:14 -05:00
fix: correct know file issues
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
Some checks are pending
Docker Build and Publish / build (push) Waiting to run
This commit is contained in:
parent
9369fcec3f
commit
d5c24ed3d1
@ -82,16 +82,15 @@ class StatController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
$statistics = $query->orderBy('record_at', 'DESC')
|
$statistics = $query->orderBy('record_at', 'DESC')
|
||||||
->get()
|
->get();
|
||||||
->toArray();
|
|
||||||
|
|
||||||
$summary = [
|
$summary = [
|
||||||
'paid_total' => 0,
|
'paid_total' => 0,
|
||||||
'paid_count' => 0,
|
'paid_count' => 0,
|
||||||
'commission_total' => 0,
|
'commission_total' => 0,
|
||||||
'commission_count' => 0,
|
'commission_count' => 0,
|
||||||
'start_date' => $request->input('start_date', date('Y-m-d', strtotime('-30 days'))),
|
'start_date' => $request->input('start_date', date('Y-m-d', $statistics->last()->record_at)),
|
||||||
'end_date' => $request->input('end_date', date('Y-m-d')),
|
'end_date' => $request->input('end_date', date('Y-m-d', $statistics->first()->record_at)),
|
||||||
'avg_paid_amount' => 0,
|
'avg_paid_amount' => 0,
|
||||||
'avg_commission_amount' => 0
|
'avg_commission_amount' => 0
|
||||||
];
|
];
|
||||||
|
2
public/assets/admin/assets/index.css
vendored
2
public/assets/admin/assets/index.css
vendored
File diff suppressed because one or more lines are too long
2
public/assets/admin/assets/index.js
vendored
2
public/assets/admin/assets/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user