src/models/ShopBill.php
public function _notifyCreate()
    {
        if ($this->shopBuyer && $this->shopBuyer->email) {

            \Yii::$app->mailer->view->theme->pathMap['@app/mail'][] = '@skeeks/cms/shop/mail/bill';

            \Yii::$app->mailer->compose('create', [
                'model' => $this,
            ])
                ->setFrom([\Yii::$app->cms->adminEmail => \Yii::$app->cms->appName.''])
                ->setTo($this->shopBuyer->email)
                ->setSubject('Выставлен счет №'.$this->id." от ".\Yii::$app->formatter->asDate($this->created_at)." по заказу №".$this->shopOrder->id)
                ->send();
        }
    }
public function _notifyCreate()
    {
        if ($this->shopBuyer && $this->shopBuyer->email) {

            \Yii::$app->mailer->view->theme->pathMap['@app/mail'][] = '@skeeks/cms/shop/mail/bill';

            \Yii::$app->mailer->compose('create', [
                'model' => $this,
            ])
                ->setFrom([\Yii::$app->cms->adminEmail => \Yii::$app->cms->appName.''])
                ->setTo($this->shopBuyer->email)
                ->setSubject('Выставлен счет №'.$this->id." от ".\Yii::$app->formatter->asDate($this->created_at)." по заказу №".$this->shopOrder->id)
                ->send();
        }
    }
Уведомление о создании счета на оплату заказчику услуги