rabin 3 роки тому
батько
коміт
761c561a27
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      app/shop/lib/Sell.php

+ 3 - 1
app/shop/lib/Sell.php

@@ -1114,7 +1114,7 @@ class Sell
                 'order' => '',
                 'order' => '',
                 'order_num' => $order_data['order_num'],
                 'order_num' => $order_data['order_num'],
                 'order_id' => $id,
                 'order_id' => $id,
-                'type' => 'pay',
+                'type' => 'test',
             );
             );
         }
         }
 
 
@@ -1478,6 +1478,8 @@ class Sell
                     }
                     }
                 }
                 }
                 */
                 */
+            } elseif (isset($info['wallet_cash']) && $info['wallet_cash'] && $info['wallet_cash'] > 0) {
+                Dever::load('cash/lib/order')->up($info, 3, 2, false, 3);
             }
             }
 
 
             if ($info['shop_type'] == 2) {
             if ($info['shop_type'] == 2) {