|
@@ -59,7 +59,7 @@ class Out extends Core
|
|
|
public function info()
|
|
|
{
|
|
|
$this->data['user'] = $this->user;
|
|
|
- $this->data['type'] = Dever::db('shop/out_order')->config['type'];
|
|
|
+ $this->data['type'] = Dever::db('shop/out_order')->config['config_type'];
|
|
|
return $this->data;
|
|
|
}
|
|
|
|
|
@@ -192,7 +192,7 @@ class Out extends Core
|
|
|
$info['goods'] = Dever::db('shop/out_order_goods')->select(array('order_id' => $info['id']));
|
|
|
$info['cdate'] = date('Y-m-d H:i', $info['cdate']);
|
|
|
|
|
|
- $type = Dever::db('shop/out_order')->config['type'];
|
|
|
+ $type = Dever::db('shop/out_order')->config['config_type'];
|
|
|
$info['type_name'] = $type[$info['type']];
|
|
|
if ($view) {
|
|
|
foreach ($info['goods'] as $k => $v) {
|