public function init()
 {
     $this->name = \skeeks\cms\shop\Module::t('app', 'Tax rates');
     $this->modelShowAttribute = "id";
     $this->modelClassName = ShopTaxRate::className();
     parent::init();
 }
 public function init()
 {
     $this->name = \Yii::t('skeeks/shop/app', 'Tax rates');
     $this->modelShowAttribute = "id";
     $this->modelClassName = ShopTaxRate::className();
     parent::init();
 }
Example #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getShopTaxRates()
 {
     return $this->hasMany(ShopTaxRate::className(), ['person_type_id' => 'id']);
 }