Added employee visitor logic in mail page
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s
This commit is contained in:
@@ -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',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user