get customer name from invoice table #135

This commit is contained in:
denisdulici
2017-12-08 13:55:23 +03:00
parent ee34dec24b
commit 2dd2612af0
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class Bill extends Notification
public function toMail($notifiable)
{
return (new MailMessage)
->line('You are receiving this email because you have an upcoming ' . money($this->bill->amount, $this->bill->currency_code, true) . ' bill to ' . $this->bill->vendor->name . ' vendor.')
->line('You are receiving this email because you have an upcoming ' . money($this->bill->amount, $this->bill->currency_code, true) . ' bill to ' . $this->bill->vendor_name . ' vendor.')
->action('Add Payment', url('expenses/bills', $this->bill->id, true));
}