mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	Refactor mail-sender
This commit is contained in:
		| @ -30,7 +30,7 @@ class InvoiceViewedMail extends Mailable | ||||
|      */ | ||||
|     public function build() | ||||
|     { | ||||
|         return $this->from(config('mail.from.address'), config('mail.from.name')) | ||||
|         return $this->from($this->data['from_address'], $this->data['from_name']) | ||||
|                     ->markdown('emails.viewed.invoice', ['data', $this->data]); | ||||
|     } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user