Merge branch 'feature/xman' into develop
This commit is contained in:
commit
204afd4005
|
|
@ -27,7 +27,7 @@ class Order extends Backend
|
|||
$this->model = new \app\admin\model\Order;
|
||||
$this->view->assign("statusList", $this->model->getStatusList());
|
||||
//$this->view->assign("collectList", $this->model->getCollectList());
|
||||
$this->view->assign("dispatchTypeList", $this->model->getDispatchTypeList());
|
||||
//$this->view->assign("dispatchTypeList", $this->model->getDispatchTypeList());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ class Order extends Model
|
|||
public function getCollectTextAttr($value, $data)
|
||||
{
|
||||
$value = $value ?: ($data['collect'] ?? '');
|
||||
$list = $this->getCollectList();
|
||||
//$list = $this->getCollectList();
|
||||
return $list[$value] ?? '';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user