diff --git a/app/Listeners/Document/SendDocumentRecurringNotification.php b/app/Listeners/Document/SendDocumentRecurringNotification.php index 91dd91cbf..6725f8512 100644 --- a/app/Listeners/Document/SendDocumentRecurringNotification.php +++ b/app/Listeners/Document/SendDocumentRecurringNotification.php @@ -3,6 +3,7 @@ namespace App\Listeners\Document; use App\Events\Document\DocumentRecurring as Event; +use App\Events\Document\DocumentSent; use App\Traits\Documents; class SendDocumentRecurringNotification @@ -35,6 +36,8 @@ class SendDocumentRecurringNotification $document->contact->notify(new $notification($document, "{$document->type}_recur_customer")); } + event(new DocumentSent($document)); + // Check if should notify users if (! $config['notify_user']) { return;