scopes:
    created_at:
        label: Date
        type: daterange
        conditions: created_at >= ':after' AND created_at <= ':before'
    name:
        label: Name
        type: text
        conditions: name = :value
    mark:
        label: Marka
        type: text
        conditions: mark = :value
    status:
        label: Status
        type: group
        conditions: status in (:filtered)
        options:
            draft: Draft
            new: New
            approved: Approved
            denied: Denied
            disabled: Disabled
    category:
        label: Category
        modelClass: TPS\Birzha\Models\Category
        conditions: id in (select product_id from tps_birzha_product_categories where category_id in (:filtered))
        nameFrom: name
