added employee visit logic in out mail
This commit is contained in:
@@ -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',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user