<label class="form-label">نوع</label>
<select name="type" class="form-select">
    <option value="">همه</option>
    @foreach(App\Models\Category::getType() as $key => $label)
        <option value="{{ $key }}" {{ request('type') === $key ? 'selected' : '' }}>{{ $label }}</option>
    @endforeach
</select>
