dever 3 éve
szülő
commit
c609dd0df4
2 módosított fájl, 6 hozzáadás és 5 törlés
  1. 1 0
      app/mshop/lib/Buy.php
  2. 5 5
      app/shop/src/Excel.php

+ 1 - 0
app/mshop/lib/Buy.php

@@ -602,6 +602,7 @@ class Buy
         $id = Dever::input('order_id');
 
         $type = 1;
+        $type = Dever::input('search_option_type', $type);
         $type = Dever::input('type', $type);
 
         $noprice = Dever::input('noprice', 2);

+ 5 - 5
app/shop/src/Excel.php

@@ -276,7 +276,7 @@ class Excel
                 if ($v['status'] == 8 || $v1['status'] == 3) {
                     $num = $v1['num'];
                 } else {
-                    $num = 0;
+                    $num = '0';
                 }
 
                 $d = array
@@ -351,8 +351,8 @@ class Excel
                     $num = $v1['num'];
                     $v['refund_cash'] = $v1['price']*$v1['num'];
                 } else {
-                    $num = 0;
-                    $v['refund_cash'] = 0;
+                    $num = '0';
+                    $v['refund_cash'] = '0';
                 }
 
                 $d = array
@@ -440,8 +440,8 @@ class Excel
                     $num = $v1['num'];
                     $v['refund_p_cash'] = $v1['p_price']*$v1['num'];
                 } else {
-                    $num = 0;
-                    $v['refund_p_cash'] = 0;
+                    $num = '0';
+                    $v['refund_p_cash'] = '0';
                 }
 
                 $d = array