Debug Vouchers

1. Todos os vouchers no banco:

Array
(
    [0] => Array
        (
            [id] => 11
            [voucher_type] => xbox
            [voucher_code] => 34PG6-PYC3W-2W3XF-HMD66-K2Q6Z
            [coin_cost] => 100
            [description] => 40
            [is_used] => 1
            [used_by_user_id] => 
            [used_at] => 2026-01-09 20:54:01
            [created_at] => 2026-01-09 20:53:21
            [updated_at] => 2026-01-09 20:54:01
        )

    [1] => Array
        (
            [id] => 10
            [voucher_type] => outro
            [voucher_code] => RDC7dbed0c0d863438e972006d261fb49d1
            [coin_cost] => 100
            [description] => 40
            [is_used] => 1
            [used_by_user_id] => 
            [used_at] => 2026-01-09 19:40:46
            [created_at] => 2026-01-09 19:40:03
            [updated_at] => 2026-01-09 19:40:46
        )

    [2] => Array
        (
            [id] => 2
            [voucher_type] => xbox
            [voucher_code] => V22JW-9QYMQ-JC72R-DV9GX-XGD6Z
            [coin_cost] => 100
            [description] => 40
            [is_used] => 1
            [used_by_user_id] => 
            [used_at] => 2026-01-09 13:43:28
            [created_at] => 2026-01-09 13:40:02
            [updated_at] => 2026-01-09 13:43:28
        )

    [3] => Array
        (
            [id] => 1
            [voucher_type] => ifood
            [voucher_code] => 111111111111111
            [coin_cost] => 40
            [description] => 40
            [is_used] => 1
            [used_by_user_id] => 
            [used_at] => 2026-01-08 20:22:54
            [created_at] => 2026-01-08 19:56:14
            [updated_at] => 2026-01-08 20:22:54
        )

)

2. Contagem:

Total de vouchers: 4
Disponíveis (is_used = 0): 0
Usados (is_used = 1): 4

3. Últimas 5 inserções:

IDTipoCódigoUsadoCriado em
11xbox34PG6-PYC3W-2W3XF-HMD66-K2Q6Z12026-01-09 20:53:21
10outroRDC7dbed0c0d863438e972006d261fb49d112026-01-09 19:40:03
2xboxV22JW-9QYMQ-JC72R-DV9GX-XGD6Z12026-01-09 13:40:02
1ifood11111111111111112026-01-08 19:56:14