feat: ✨ adding multiple brands

This commit is contained in:
Corentin Huet 2026-01-29 17:56:51 +01:00
parent dc49a08128
commit 79b9b9b808
2 changed files with 17 additions and 8 deletions

View file

@ -15,6 +15,11 @@ use Kwaadpepper\Enum\BaseEnumRoutable;
* @method static self marie()
* @method static self tregalette()
* @method static self esprirestauration()
* @method static self lepetitmarchedeloue()
* @method static self lesaccessibles()
* @method static self legauloisvegetal()
* @method static self natureandrespect()
* @method static self reghalal()
*
*/
class ProductBrand extends BaseEnumRoutable
@ -27,13 +32,18 @@ class ProductBrand extends BaseEnumRoutable
public static function labels()
{
return [
'none' => 'Sans marque',
'loue' => 'Loué',
'legaulois' => 'Le Gaulois',
'legauloispro' => 'Le Gaulois Professionnel',
'marie' => 'Marie',
'tregalette' => 'Trégalette',
'esprirestauration' => 'Espri Restauration',
'none' => 'Sans marque',
'loue' => 'Loué',
'legaulois' => 'Le Gaulois',
'legauloispro' => 'Le Gaulois Professionnel',
'marie' => 'Marie',
'tregalette' => 'Trégalette',
'esprirestauration' => 'Espri Restauration',
'lepetitmarchedeloue' => 'Le petit marché de Loué',
'lesaccessibles' => 'Les Accessibles',
'legauloisvegetal' => 'Le Gaulois végétal',
'natureandrespect' => 'Nature & Respect',
'reghalal' => 'Réghalal'
];
}
}

1
package-lock.json generated
View file

@ -4,7 +4,6 @@
"requires": true,
"packages": {
"": {
"name": "srcs",
"devDependencies": {
"@fancyapps/fancybox": "^3.5.7",
"@fortawesome/fontawesome-free": "^6.2.0",