Story 3-4: Bulk client notification scheduling — BulkNotificationController, BulkActionBar component, checkbox selection on declarations index. Story 3-5: Email notification enhancement — observer-driven email on en_attente_client, cache invalidation on ferme, workspace branding on all email templates, 11 feature tests. Code review fixes: - Move bulk-notify route above resource wildcard to prevent shadowing - Add static $suppressEmail flag to prevent observer double-sending when DeclarationMessageController already sends the email - Fix canBulkNotify logic (was granting workers access) - Add WorkspaceUserRole check to BulkNotifyRequest::authorize() - Replace firstOrCreate with explicit invitation lookup that syncs client email and handles used/expired invitations correctly - Watch declarations.data instead of current_page to clear selection on filter/sort changes Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
486 B
PHP
18 lines
486 B
PHP
<x-mail::message>
|
|
# {{ $firmName ?? 'Votre cabinet' }} — Documents complémentaires demandés
|
|
|
|
Bonjour,
|
|
|
|
{{ $firmName ?? 'Votre cabinet comptable' }} vous demande des documents complémentaires pour le dossier **{{ $declarationTitle }}**.
|
|
|
|
{{ $body }}
|
|
|
|
Cliquez sur le bouton ci-dessous pour déposer les documents demandés.
|
|
|
|
<x-mail::button :url="$uploadUrl" color="primary">
|
|
Déposer mes documents
|
|
</x-mail::button>
|
|
|
|
Ce lien est valide jusqu'au {{ $expiresAt }}.
|
|
</x-mail::message>
|