added employee visit logic in out mail
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 15s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 17s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Laravel Pint / pint (pull_request) Successful in 2m44s
Laravel Larastan / larastan (pull_request) Failing after 4m51s

This commit is contained in:
dhanabalan
2026-07-19 11:34:30 +05:30
parent a6b29e07bb
commit aea402cd4c
2 changed files with 20 additions and 5 deletions

View File

@@ -30,7 +30,10 @@ class VisitorOutMail extends Mailable
public function envelope(): Envelope
{
return new Envelope(
subject: 'Visitor Out Notification',
// subject: 'Visitor Out Notification',
subject: $this->entry->type === 'InterUnitStaff'
? 'Employee Out Notification'
: 'Visitor Out Notification',
);
}