Reapply "feat(loyalty): EnakPoint & EnakCoin" (#32)

This reverts commit 4e24f9bbb0.
This commit is contained in:
efrilm
2026-09-30 15:31:11 +07:00
parent 5e28b05770
commit c6062c4bb9
195 changed files with 20058 additions and 2177 deletions
@@ -75,6 +75,8 @@ func (r *PaymentMethodRepositoryImpl) List(ctx context.Context, filters map[stri
case "search":
searchValue := "%" + value.(string) + "%"
query = query.Where("name ILIKE ? OR processor ILIKE ?", searchValue, searchValue)
case "exclude_type":
query = query.Where("type <> ?", value)
default:
query = query.Where(key+" = ?", value)
}