stuff
This commit is contained in:
@@ -119,13 +119,13 @@ class SRPAdminController extends Controller
|
|||||||
|
|
||||||
//Get the number of approved, denied, and under review payouts currently from the database
|
//Get the number of approved, denied, and under review payouts currently from the database
|
||||||
$pieOpen = SRPShip::where(['approved' => 'Under Review'])
|
$pieOpen = SRPShip::where(['approved' => 'Under Review'])
|
||||||
->whereBetween('created_at', [$start, $end])
|
->where('created_at', '>=', $end)
|
||||||
->count();
|
->count();
|
||||||
$pieApproved = SRPShip::where(['approved' => 'Approved'])
|
$pieApproved = SRPShip::where(['approved' => 'Approved'])
|
||||||
->whereBetween('created_at', [$start, $end])
|
->where('created_at', '>=', $end)
|
||||||
->count();
|
->count();
|
||||||
$pieDenied = SRPShip::where(['approved' => 'Denied'])
|
$pieDenied = SRPShip::where(['approved' => 'Denied'])
|
||||||
->whereBetween('created_at', [$start, $end])
|
-where('created_at', '>=', $end)
|
||||||
->count();
|
->count();
|
||||||
|
|
||||||
//Get the amount of open orders
|
//Get the amount of open orders
|
||||||
|
|||||||
Reference in New Issue
Block a user