|
@@ -850,6 +850,16 @@ class Buy
|
|
|
'link' => Dever::url('order_send?id=' . $info['id'] . '&type=2', 'store'),
|
|
|
'name' => '配送发货',
|
|
|
);
|
|
|
+
|
|
|
+ if ($parent_order && $parent_order['uid']) {
|
|
|
+ } else {
|
|
|
+ $button[] = array
|
|
|
+ (
|
|
|
+ 'type' => 'cancel',
|
|
|
+ 'link' => Dever::url('lib/buy.refund_apply_commit?json=1&order_id=' . $info['id'] . '&type_id=' . $info['source_id'], 'mshop'),
|
|
|
+ 'name' => '取消订单',
|
|
|
+ );
|
|
|
+ }
|
|
|
}
|
|
|
if ($info['status'] == 4 && $info['type'] == 2) {
|
|
|
$button[] = array
|