From: Alexander Smirnov Date: Wed, 9 Oct 2024 07:06:14 +0000 (+0300) Subject: [ERP-216] фикс X-Git-Tag: 1.6~45^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=1a065318cbd4c28728c6c6fe468fc2fc36bcac46;p=erp24_rep%2Fyii-erp24%2F.git [ERP-216] фикс --- diff --git a/erp24/actions/bonus/AddBonusToListOfPhones.php b/erp24/actions/bonus/AddBonusToListOfPhones.php index 3d31f613..625f5fb9 100644 --- a/erp24/actions/bonus/AddBonusToListOfPhones.php +++ b/erp24/actions/bonus/AddBonusToListOfPhones.php @@ -60,7 +60,7 @@ class AddBonusToListOfPhones extends Action } } } - Yii::$app->session->setFlash('success', 'Бонусы успешно начислены'); + Yii::$app->session->setFlash('success', 'Бонусы успешно начислены ' . count($phones) . ' клиентам'); } return $this->controller->render('add-bonus-to-list-of-phones'); } diff --git a/erp24/views/bonus/add-bonus-to-list-of-phones.php b/erp24/views/bonus/add-bonus-to-list-of-phones.php index 49f038ab..63b672c5 100644 --- a/erp24/views/bonus/add-bonus-to-list-of-phones.php +++ b/erp24/views/bonus/add-bonus-to-list-of-phones.php @@ -66,7 +66,7 @@ use yii\widgets\ActiveForm; - +