Added employee visitor logic in mail page
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s

This commit is contained in:
dhanabalan
2026-07-19 10:28:07 +05:30
parent fe5630e7b0
commit 8f32671db6
2 changed files with 17 additions and 13 deletions

View File

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