예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getPurchaseorderCustomer()
 {
     return $this->hasOne(Tbcustomer::className(), ['customer_id' => 'purchaseorder_customerid']);
 }
예제 #2
0
파일: Quotation.php 프로젝트: KokLip/GST
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getQuotationCustomer()
 {
     return $this->hasOne(Tbcustomer::className(), ['customer_id' => 'quotation_customerid']);
 }