/**
  * @return \yii\db\ActiveQuery
  */
 public function getInvoice()
 {
     return $this->hasOne(EeCompanyInvoices::className(), ['id' => 'invoice_id']);
 }
Beispiel #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEeCompanyInvoices()
 {
     return $this->hasMany(EeCompanyInvoices::className(), ['status' => 'id']);
 }
Beispiel #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getEeCompanyInvoices0()
 {
     return $this->hasMany(EeCompanyInvoices::className(), ['vendor_c_id' => 'c_id']);
 }