dever 3 năm trước cách đây
mục cha
commit
e338d2467c
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      service/option/lib/Cash.php

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

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