feat: L'Ami Fiduciaire V1.0.0 — full codebase with Story 0.1 complete
Initial commit of the L'Ami Fiduciaire SaaS platform built on Laravel 12, Vue 3, Inertia.js 2, and Tailwind CSS 4. Story 0.1 (rename folders to declarations in database) is implemented and code-reviewed: migration, rollback, and 6 Pest tests all passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
12
app/Enums/ActorType.php
Normal file
12
app/Enums/ActorType.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class ActorType extends Enum
|
||||
{
|
||||
const User = 'user';
|
||||
|
||||
const Client = 'client';
|
||||
}
|
||||
14
app/Enums/ClientStatus.php
Normal file
14
app/Enums/ClientStatus.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class ClientStatus extends Enum
|
||||
{
|
||||
const Active = 'actif';
|
||||
|
||||
const Inactive = 'inactif';
|
||||
|
||||
const Suspended = 'suspendu';
|
||||
}
|
||||
14
app/Enums/FolderPriority.php
Normal file
14
app/Enums/FolderPriority.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class FolderPriority extends Enum
|
||||
{
|
||||
const Low = 'low';
|
||||
|
||||
const Medium = 'medium';
|
||||
|
||||
const High = 'high';
|
||||
}
|
||||
26
app/Enums/FolderStatus.php
Normal file
26
app/Enums/FolderStatus.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class FolderStatus extends Enum
|
||||
{
|
||||
const Draft = 'draft';
|
||||
|
||||
const WaitingDocuments = 'waiting_documents';
|
||||
|
||||
const DocumentsReceived = 'documents_received';
|
||||
|
||||
const Processing = 'processing';
|
||||
|
||||
const AdditionalDocumentsRequested = 'additional_documents_requested';
|
||||
|
||||
const WaitingClientValidation = 'waiting_client_validation';
|
||||
|
||||
const Validated = 'validated';
|
||||
|
||||
const Closed = 'closed';
|
||||
|
||||
const Cancelled = 'cancelled';
|
||||
}
|
||||
24
app/Enums/FolderType.php
Normal file
24
app/Enums/FolderType.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class FolderType extends Enum
|
||||
{
|
||||
const VAT = 'vat';
|
||||
|
||||
const VatMonthly = 'vat_monthly';
|
||||
|
||||
const VatQuarterly = 'vat_quarterly';
|
||||
|
||||
const CorporateTax = 'corporate_tax';
|
||||
|
||||
const IncomeTax = 'income_tax';
|
||||
|
||||
const CNSS = 'cnss';
|
||||
|
||||
const AnnualBalance = 'annual_balance';
|
||||
|
||||
const Other = 'other';
|
||||
}
|
||||
26
app/Enums/LegalForm.php
Normal file
26
app/Enums/LegalForm.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class LegalForm extends Enum
|
||||
{
|
||||
const SARL = 'sarl';
|
||||
|
||||
const SA = 'sa';
|
||||
|
||||
const SNC = 'snc';
|
||||
|
||||
const SCS = 'scs';
|
||||
|
||||
const EURL = 'eurl';
|
||||
|
||||
const SEL = 'sel';
|
||||
|
||||
const AutoEntrepreneur = 'auto_entrepreneur';
|
||||
|
||||
const EntrepriseIndividuelle = 'entreprise_individuelle';
|
||||
|
||||
const Other = 'other';
|
||||
}
|
||||
18
app/Enums/MessageType.php
Normal file
18
app/Enums/MessageType.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class MessageType extends Enum
|
||||
{
|
||||
const Invite = 'invite';
|
||||
|
||||
const Situation = 'situation';
|
||||
|
||||
const FileRequest = 'file_request';
|
||||
|
||||
const Confirmation = 'confirmation';
|
||||
|
||||
const Text = 'text';
|
||||
}
|
||||
14
app/Enums/UserGroup.php
Normal file
14
app/Enums/UserGroup.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class UserGroup extends Enum
|
||||
{
|
||||
const Superadmin = 'superadmin';
|
||||
|
||||
const Admin = 'admin';
|
||||
|
||||
const User = 'user';
|
||||
}
|
||||
14
app/Enums/WorkspaceUserRole.php
Normal file
14
app/Enums/WorkspaceUserRole.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use BenSampo\Enum\Enum;
|
||||
|
||||
final class WorkspaceUserRole extends Enum
|
||||
{
|
||||
const Owner = 'owner';
|
||||
|
||||
const Manager = 'manager';
|
||||
|
||||
const Member = 'member';
|
||||
}
|
||||
Reference in New Issue
Block a user