rabin 3 vuotta sitten
vanhempi
commit
ab1a3dc264
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/cash/lib/Set.php

+ 1 - 1
app/cash/lib/Set.php

@@ -103,7 +103,7 @@ class Set
             Dever::db($table)->update(array('where_id' => $id, 'status' => 2));
 
             if ($type == 'shop_sell' && $data['cash'] > 0) {
-                return;
+                return 'reload';
                 $card = Dever::db('cash/order')->getCardAll(array('start'=>$data['start'],'end'=>$data['end'],'pay_type'=>2,'status'=>2,'type'=>1,'type_id'=>$data['shop_id'],'state'=>1));
                 $shop = Dever::db('shop/info')->find($data['shop_id']);
                 if ($card && $card['cash'] > 0) {