@ -217,6 +217,13 @@ class SystemController extends \yii\web\Controller
$items = OrderT::find()
->where('status_id=10')
->all();
foreach($items as $item) {
$car_info = $item->car;
if(!$car_info) {
echo 'error';
break;
}
return count($items);