fixed invoice pdf attachment

This commit is contained in:
Denis Duliçi
2021-04-29 18:12:37 +03:00
parent 2e695865bc
commit 5079a0bb30
7 changed files with 69 additions and 69 deletions

View File

@ -25,14 +25,14 @@ class Bill extends Notification
* Create a notification instance.
*
* @param object $bill
* @param object $template
* @param object $template_alias
*/
public function __construct($bill = null, $template = null)
public function __construct($bill = null, $template_alias = null)
{
parent::__construct();
$this->bill = $bill;
$this->template = EmailTemplate::alias($template)->first();
$this->template = EmailTemplate::alias($template_alias)->first();
}
/**