|
@@ -204,7 +204,8 @@ class Out
|
|
|
$info['cdate'] = date('Y-m-d H:i', $info['cdate']);
|
|
|
|
|
|
$type = Dever::db('shop/out_order')->config['config_type'];
|
|
|
- $info['type_name'] = $type[$info['out_type']];
|
|
|
+ $type = $type();
|
|
|
+ $info['type_name'] = $type[$info['out_type']]['name'];
|
|
|
|
|
|
$status = Dever::db('shop/out_order')->config['config_status'];
|
|
|
$info['status_name'] = $status[$info['status']];
|
|
@@ -231,7 +232,9 @@ class Out
|
|
|
|
|
|
$status = $config['config_status'][$info['status']];
|
|
|
|
|
|
- $out_type = $config['config_type'][$info['out_type']];
|
|
|
+ $config_type = $config['config_type'];
|
|
|
+ $config_type = $config_type();
|
|
|
+ $out_type = $config_type[$info['out_type']]['name'];
|
|
|
|
|
|
$cdate = date('Y-m-d H:i', $info['cdate']);
|
|
|
|
|
@@ -385,7 +388,9 @@ class Out
|
|
|
|
|
|
$status = $config['config_status'][$info['status']];
|
|
|
|
|
|
- $out_type = $config['config_type'][$info['out_type']];
|
|
|
+ $config_type = $config['config_type'];
|
|
|
+ $config_type = $config_type();
|
|
|
+ $out_type = $config_type[$info['out_type']]['name'];
|
|
|
|
|
|
$cdate = date('Y-m-d H:i', $info['cdate']);
|
|
|
|