lip 1 hete
szülő
commit
4664c3fe2e
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      app/Services/BalanceLogService.php

+ 4 - 0
app/Services/BalanceLogService.php

@@ -74,6 +74,10 @@ class BalanceLogService extends BaseService
             $where[] = ['member_id', '=', $search['member_id']];
         }
 
+        if (isset($search['type']) && !empty($search['type'])) {
+            $where[] = ['type', '=', $search['type']];
+        }
+        
         if (isset($search['change_type']) && !empty($search['change_type'])) {
             $where[] = ['change_type', '=', $search['change_type']];
         }