mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-31 05:31:10 -04:00 
			
		
		
		
	Add name in From field.
This commit is contained in:
		| @ -31,6 +31,8 @@ class EstimateViewed extends Mailable | ||||
|     public function build() | ||||
|     { | ||||
|         $email = $this->data['user']['email']; | ||||
|         return $this->from($email)->markdown('emails.viewed.estimate', ['data', $this->data]); | ||||
|         $name = $this->data['user']['name']; | ||||
|         return $this->from($email, $name) | ||||
|                     ->markdown('emails.viewed.estimate', ['data', $this->data]); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user