dever %!s(int64=3) %!d(string=hai) anos
pai
achega
8654ab86f0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/mshop/src/Data.php

+ 1 - 0
app/mshop/src/Data.php

@@ -17,6 +17,7 @@ class Data extends Core
 		$where['start'] = Dever::maketime($day . ' 00:00:00');
 		$where['end'] = Dever::maketime($day . ' 23:59:59');
 		$where['shop_id'] = $this->shop_id;
+        $where['status'] = '1,2,3,4';
 
 		$this->data['num_order'] = round(Dever::db('shop/sell_order')->getOrderNum($where), 2);
 		$cash = Dever::db('shop/sell_order')->getCashNum($where);