コード例 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getResPartners()
 {
     return $this->hasMany(ResPartner::className(), ['state_id' => 'id']);
 }
コード例 #2
0
ファイル: DeliveryNote.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPartner()
 {
     return $this->hasOne(ResPartner::className(), ['id' => 'partner_id']);
 }
コード例 #3
0
ファイル: SaleOrderLine.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAddressAllotment()
 {
     return $this->hasOne(ResPartner::className(), ['id' => 'address_allotment_id']);
 }
コード例 #4
0
ファイル: AccountInvoice.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getFakturAddress()
 {
     return $this->hasOne(ResPartner::className(), ['id' => 'faktur_address']);
 }
コード例 #5
0
ファイル: WeekStatusLine.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getName0()
 {
     return $this->hasOne(ResPartner::className(), ['id' => 'name']);
 }
コード例 #6
0
ファイル: HrEmployee.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAddressHome()
 {
     return $this->hasOne(ResPartner::className(), ['id' => 'address_home_id']);
 }
コード例 #7
0
ファイル: PurchaseOrder.php プロジェクト: hendri30/OpenPrint
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getAttention0()
 {
     return $this->hasOne(ResPartner::className(), ['id' => 'attention']);
 }