feat(tenant): add display options for categories and search bar; update requests, migrations, seeder, and tests

This commit is contained in:
2026-08-11 10:04:18 -03:00
parent 8d8e49fcfb
commit 68dd373d61
8 changed files with 69 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ class UpdateTenantRequest extends FormRequest
'search_product_layout' => ['sometimes', Rule::enum(ProductLayout::class)],
'search_group_layout' => ['sometimes', Rule::enum(GroupLayout::class)],
'search_items_per_page' => ['sometimes', 'integer', 'min:4', 'max:48'],
'display_categories' => ['sometimes', 'boolean'],
'display_seach_bar' => ['sometimes', 'boolean'],
];
}
}