Esempio n. 1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getToCurrency()
 {
     return $this->hasOne(Currency::className(), ['id' => 'to_currency_id']);
 }
Esempio n. 2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCurrencies()
 {
     return $this->hasMany(Currency::className(), ['billing_id' => 'id']);
 }
Esempio n. 3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCurrencyCode()
 {
     return $this->hasOne(Currency::className(), ['code' => 'currency_code']);
 }
Esempio n. 4
0
 public function getCurrencyEmployee()
 {
     return $this->hasOne(Currency::className(), ['id' => 'id_currency_payment_of_employee']);
 }
Esempio n. 5
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCurrency()
 {
     return $this->hasOne(\app\models\Currency::className(), ['id' => 'currency_id']);
 }