moonsflyer hace 6 meses
padre
commit
255652410c
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      app/adminapi/lists/gift_card/GiftCardInfoLists.php

+ 3 - 1
app/adminapi/lists/gift_card/GiftCardInfoLists.php

@@ -59,7 +59,9 @@ class GiftCardInfoLists extends BaseAdminDataLists implements ListsExtendInterfa
         if(isset($params['card_no'])){
             $where[] = ['card_no', 'like', '%' . $params['card_no'] . '%'];
         }
-
+        if(isset($params['is_used'])){
+            $where[] = ['is_used', '=', $params['is_used']];
+        }
         return $where;
     }