/** * @return \yii\db\ActiveQuery */ public function getAccountVouchers() { return $this->hasMany(AccountVoucher::className(), ['tax_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getAccountVouchers() { return $this->hasMany(AccountVoucher::className(), ['payment_rate_currency_id' => 'id']); }