|
|
@ -79,13 +79,8 @@ class run extends publicBase { |
|
|
|
$this->view['_shopinfo'] = $this->para['_shopinfo'] = $shopinfo; |
|
|
|
|
|
|
|
$obj = new mOrder(); |
|
|
|
$wait_deliver_count = $obj->getOrdersCount($shopinfo['uid'], $shopinfo['id'], ORDER_STATUS_WAIT_DELIVER_GOODS, REFUND_STATUS_NO_AFTER_SALES)+0; |
|
|
|
$wait_deliver_count = $wait_deliver_count>99 ? '99+' : $wait_deliver_count; |
|
|
|
$this->view['_wait_deliver_count'] = $this->para['_wait_deliver_count'] = $wait_deliver_count; |
|
|
|
|
|
|
|
$after_sale_count = $obj->getOrdersCount($shopinfo['uid'], $shopinfo['id'], 0, REFUND_STATUS_AFTER_SALE_ING)+0; |
|
|
|
$after_sale_count = $after_sale_count>99 ? '99+' : $after_sale_count; |
|
|
|
$this->view['_after_sale_count'] = $this->para['_after_sale_count'] = $after_sale_count; |
|
|
|
$this->view['_wait_deliver_count'] = $this->para['_wait_deliver_count'] = $obj->getOrdersCount($shopinfo['uid'], $shopinfo['id'], ORDER_STATUS_WAIT_DELIVER_GOODS, REFUND_STATUS_NO_AFTER_SALES)+0; |
|
|
|
$this->view['_after_sale_count'] = $this->para['_after_sale_count'] = $obj->getOrdersCount($shopinfo['uid'], $shopinfo['id'], 0, REFUND_STATUS_AFTER_SALE_ING)+0; |
|
|
|
} |
|
|
|
|
|
|
|
private function action() { |
|
|
|