mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 10:38: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')
|
||||
->get()
|
||||
->toArray();
|
||||
->get();
|
||||
|
||||
$summary = [
|
||||
'paid_total' => 0,
|
||||
'paid_count' => 0,
|
||||
'commission_total' => 0,
|
||||
'commission_count' => 0,
|
||||
'start_date' => $request->input('start_date', date('Y-m-d', strtotime('-30 days'))),
|
||||
'end_date' => $request->input('end_date', date('Y-m-d')),
|
||||
'start_date' => $request->input('start_date', date('Y-m-d', $statistics->last()->record_at)),
|
||||
'end_date' => $request->input('end_date', date('Y-m-d', $statistics->first()->record_at)),
|
||||
'avg_paid_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