コード例 #1
0
ファイル: AccountTax.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountVouchers()
 {
     return $this->hasMany(AccountVoucher::className(), ['tax_id' => 'id']);
 }
コード例 #2
0
ファイル: ResCurrency.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAccountVouchers()
 {
     return $this->hasMany(AccountVoucher::className(), ['payment_rate_currency_id' => 'id']);
 }