public function renderConfigForm(ActiveForm $form)
{
echo $form->fieldSet('Общие настройки');
echo $form->field($this, 'affiliate_key');
echo $form->field($this, 'v3toysIdPropertyName');
echo $form->field($this, 'content_ids')->widget(Chosen::className(), ['multiple' => true, 'items' => CmsContent::getDataForSelect()]);
echo $form->field($this, 'notify_emails')->textarea(['rows' => 3]);
/*echo $form->field($this, 'v3toysShopPersonTypeId')->widget(Chosen::className(),[
'items' => ArrayHelper::map(ShopPersonType::find()->all(), 'id', 'name'),
]);*/
/*echo $form->field($this, 'v3toysOrderStatusSubmitted')->widget(Chosen::className(),[
'items' => ArrayHelper::map(ShopOrderStatus::find()->all(), 'code', 'name'),
]);*/
echo $form->fieldSetEnd();
echo $form->fieldSet('Настройки доставки');
echo $form->field($this, 'pickup_discaunt_value');
echo $form->field($this, 'post_discaunt_value');
echo $form->field($this, 'courier_discaunt_value');
echo $form->fieldSetEnd();
echo $form->fieldSet('Скидка/Наценка на товары');
echo $form->field($this, 'price_discount_percent');
echo $form->fieldSetEnd();
}