dever 3 سال پیش
والد
کامیت
e338d2467c
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      service/option/lib/Cash.php

+ 4 - 0
service/option/lib/Cash.php

@@ -152,6 +152,10 @@ class Cash
         if ($audit) {
             $where['audit'] = $audit;
         }
+        $type = Dever::input('type');
+        if ($type) {
+            $where['type'] = $type;
+        }
         $table = 'option/bill_' . $table;
         if ($status == 2) {
             $data = Dever::db($table)->select($where);