|
@@ -54,7 +54,7 @@ trait OrderStatus
|
|
|
|
|
|
$dispatchType = $this->getItemDispatchTypes();
|
|
|
if (in_array('express', $dispatchType)) {
|
|
|
- $btns[] = 'express';
|
|
|
+
|
|
|
}
|
|
|
$backendBtns[] = 'refund';
|
|
|
break;
|
|
@@ -64,9 +64,11 @@ trait OrderStatus
|
|
|
|
|
|
$dispatchType = $this->getItemDispatchTypes();
|
|
|
if (in_array('express', $dispatchType)) {
|
|
|
- $btns[] = 'express';
|
|
|
+
|
|
|
}
|
|
|
$btns[] = 'comment';
|
|
|
+
|
|
|
+ $btns[] = 'aftersale';
|
|
|
$backendBtns[] = 'refund';
|
|
|
break;
|
|
|
case 'noget':
|
|
@@ -75,7 +77,7 @@ trait OrderStatus
|
|
|
|
|
|
$dispatchType = $this->getItemDispatchTypes();
|
|
|
if (in_array('express', $dispatchType)) {
|
|
|
- $btns[] = 'express';
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if ($this->isOffline($data)) {
|
|
@@ -96,6 +98,8 @@ trait OrderStatus
|
|
|
}
|
|
|
|
|
|
$btns[] = 'confirm';
|
|
|
+
|
|
|
+ $btns[] = 'aftersale';
|
|
|
$backendBtns[] = 'refund';
|
|
|
}
|
|
|
|
|
@@ -118,7 +122,7 @@ trait OrderStatus
|
|
|
if (!isset($ext['need_address']) || $ext['need_address']) {
|
|
|
$backendBtns[] = 'edit_consignee';
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
break;
|
|
|
case 'refund_completed':
|
|
|
$status_text = '退款完成';
|
|
@@ -137,7 +141,8 @@ trait OrderStatus
|
|
|
} else {
|
|
|
$backendBtns[] = 'refund';
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
break;
|
|
|
case 'groupon_invalid':
|
|
|
$status_text = '拼团失败';
|
|
@@ -166,9 +171,9 @@ trait OrderStatus
|
|
|
if (count($statusCodes) == 1 && current($statusCodes) == 'nosend') {
|
|
|
|
|
|
if ($data['apply_refund_status'] == Order::APPLY_REFUND_STATUS_REFUSE) {
|
|
|
- $btns[] = 're_apply_refund';
|
|
|
+ $btns[] = 're_apply_refund';
|
|
|
} else {
|
|
|
- $btns[] = 'apply_refund';
|
|
|
+ $btns[] = 'apply_refund';
|
|
|
}
|
|
|
}
|
|
|
}
|