255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'employee' => 'Employee ID', 'tmc' => 'TMC ID', 'issue_date' => 'Date of Issue', 'receipt_date' => 'Date of receipt', ]; } /** * @return \yii\db\ActiveQuery */ public function getEmployee() { return $this->hasOne(Accounts::class, ['id' => 'employee']); } /** * @return \yii\db\ActiveQuery */ public function getTmc() { return $this->hasOne(Tmc::class, ['id' => 'tmc']); } }