From be18439b16640ca3d984a935048532c864bbd06d Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 16 Jan 2017 13:34:05 +0200 Subject: [PATCH] add similar products --- controllers/OrderController.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/controllers/OrderController.php b/controllers/OrderController.php index 9e8b057..6070352 100755 --- a/controllers/OrderController.php +++ b/controllers/OrderController.php @@ -522,7 +522,12 @@ $sender = \Yii::$app->sender; $sender->send( $model->phone, - 'test content' + $this->renderPartial( + '@common/mail/smsorder', + [ + 'order_id' => $model->id, + ] + ) ); } } -- libgit2 0.21.4