Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function build() |
||
38 | { |
||
39 | $job = $this->transition->job_poster; |
||
40 | $to = $this->transition->to->name; |
||
41 | $subject = "Job $job->title changed status to $to"; |
||
42 | return $this->markdown('emails.job_posters.status_transition') |
||
43 | ->subject($subject) |
||
44 | ->with([ |
||
45 | 'jobPoster' => $this->transition->job_poster, |
||
46 | 'user' => $this->transition->user, |
||
47 | 'from' => $this->transition->from->name, |
||
48 | 'to' => $to, |
||
49 | 'url' => backpack_url('job-poster'), |
||
|
|||
50 | ]); |
||
53 |