certificate = $certificate; } /** * Build the message. * * @return $this */ public function build() { $data = $this->certificate; return $this->subject('Request No: '.requestNumberFormat($data->id).' Name: '.$data->full_name.' Status: Rejected') ->view('backend.mail.certificate_rejection_for_patient',compact('data')); } }