feat(Membership, FAQ, Relance): update membership form (member type radio,retzien email field, calendar-year pricing), create FAQ page with accordion, wire renewal reminder notification
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 1m23s

This commit is contained in:
2026-07-27 16:30:48 +02:00
parent 87e23ea50f
commit 6d300ac79c
27 changed files with 1517 additions and 396 deletions

View File

@@ -0,0 +1,40 @@
<?php
namespace Database\Seeders;
use App\Models\MemberType;
use Illuminate\Database\Seeder;
class MemberTypeSeeder extends Seeder
{
public function run(): void
{
$types = [
[
'identifier' => 'individual',
'name' => 'Particulier',
'description' => 'Personne physique',
],
[
'identifier' => 'company',
'name' => 'Entreprise',
'description' => 'Personne morale (société, auto-entrepreneur, etc.)',
],
[
'identifier' => 'association',
'name' => 'Association',
'description' => 'Association loi 1901',
],
];
foreach ($types as $type) {
MemberType::updateOrCreate(
['identifier' => $type['identifier']],
[
'name' => $type['name'],
'description' => $type['description'],
]
);
}
}
}