|
@@ -568,6 +568,10 @@ class OrderModel |
|
@@ -568,6 +568,10 @@ class OrderModel |
568
|
$exchangeUrl = Helpers::url('/home/returns/exchangeRequest', array('orderCode' => $orderCode));
|
568
|
$exchangeUrl = Helpers::url('/home/returns/exchangeRequest', array('orderCode' => $orderCode));
|
569
|
//申请退货
|
569
|
//申请退货
|
570
|
$refundUrl = Helpers::url('/home/returns/refundrequest', array('orderCode' => $orderCode));
|
570
|
$refundUrl = Helpers::url('/home/returns/refundrequest', array('orderCode' => $orderCode));
|
|
|
571
|
+ //再次购买
|
|
|
572
|
+ if ( $isCancel == 'Y') {
|
|
|
573
|
+ $operation[] = array( 'name' => '再次购买', 'reBuy' => true);
|
|
|
574
|
+ }
|
571
|
//立即付款
|
575
|
//立即付款
|
572
|
if ($payStatus == 'N' && $paymentType != 2 && $isCancel == 'N') {
|
576
|
if ($payStatus == 'N' && $paymentType != 2 && $isCancel == 'N') {
|
573
|
$operation[] = array('payNow' => true, 'href' => $payUrl);
|
577
|
$operation[] = array('payNow' => true, 'href' => $payUrl);
|
|
@@ -600,10 +604,8 @@ class OrderModel |
|
@@ -600,10 +604,8 @@ class OrderModel |
600
|
if ($status >= 6 && $time < 86400 * $orderRefundLimitTime && $attribute != 3 && $isCancel == 'N') {
|
604
|
if ($status >= 6 && $time < 86400 * $orderRefundLimitTime && $attribute != 3 && $isCancel == 'N') {
|
601
|
$operation[] = array('href' => $refundUrl, 'name' => '申请退货', 'optDis' => $opRefundStatus);
|
605
|
$operation[] = array('href' => $refundUrl, 'name' => '申请退货', 'optDis' => $opRefundStatus);
|
602
|
}
|
606
|
}
|
603
|
- //再次购买
|
|
|
604
|
- if ( $isCancel == 'Y') {
|
|
|
605
|
- $operation[] = array( 'name' => '再次购买', 'reBuy' => true);
|
|
|
606
|
- }
|
607
|
+
|
|
|
608
|
+
|
607
|
return $operation;
|
609
|
return $operation;
|
608
|
}
|
610
|
}
|
609
|
|
611
|
|