dever 3 년 전
부모
커밋
5076d59865
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      app/shop/lib/Sell.php

+ 7 - 0
app/shop/lib/Sell.php

@@ -188,6 +188,13 @@ class Sell
             $info['card_code_cash'] = round($info['card_code_cash'], 2);
         }
 
+        $tk = Dever::db('shop/sell_order_refund')->find(array('order_id' => $info['id'], 'process' => 2));
+        if ($tk) {
+            $info['tk_status'] = 1;
+        } else {
+            $info['tk_status'] = 2;
+        }
+
         $info['card_name'] = '';
         if ($info['card_code_id'] > 0) {
             $config = Dever::db('main/sell_config')->find();