/** * @return \yii\db\ActiveQuery */ public function getNotaDevolucions() { return $this->hasMany(NotaDevolucion::className(), ['id_empleado' => 'Id']); }
/** * @return \yii\db\ActiveQuery */ public function getNotaDevolucions() { return $this->hasMany(NotaDevolucion::className(), ['id_nota_venta' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getIdNotaDev() { return $this->hasOne(NotaDevolucion::className(), ['id' => 'id_nota_dev']); }