scopes:
    created_at:
        label: Date
        type: daterange
        conditions: created_at >= ':after' AND created_at <= ':before'
    status:
        label: Status
        type: group
        conditions: status in (:filtered)
        options:
            new: new
            approved: approved
            declined: declined
            failed: failed
    payment_type:
        label: 'Payment type'
        type: group
        conditions: payment_type in (:filtered)
        options:
            bank: Bank
            online: Online
            gift: Gift
    user:
        label: Seller
        modelClass: RainLab\User\Models\User
        nameFrom: email
        conditions: user_id in (:filtered)
