"function(attribute, value) {
return ($('input:radio[name=\"UserPromotion[is_all_user]\"]:checked').val() == 2) ? true : false;
}"
],
];
}
/**
*
* @return
*/
public function attributeLabels()
{
return [
'user_id' => yii::t('backend','Customer Name'),
];
}
}