setter
parent
e7126a9991
commit
3807c03ef3
|
@ -1092,7 +1092,7 @@ class OrderRepository extends Repository
|
|||
*/
|
||||
public function orderCount(int $accountId): array
|
||||
{
|
||||
$statusList = ['waiting', 'paid', 'shipped', 'completed'];
|
||||
$statusList = ['order_placed', 'makeing', 'shipped'];
|
||||
$data = Order::where('account_id', $accountId)
|
||||
->whereIn('status', $statusList)
|
||||
->group('status')
|
||||
|
|
Loading…
Reference in New Issue