|
@@ -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);
|