1
0
forked from poc/pds

added employee visit logic in out mail

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',
);
}