Skip to content

Commit

Permalink
Merge pull request #8 from Rafin31/admin_module
Browse files Browse the repository at this point in the history
bug fixed
  • Loading branch information
Rafin31 committed Jul 2, 2021
2 parents 752715e + 2b1b4f3 commit 911dd4e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/Models/usersModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,17 @@ public function post_notice()
{
return $this->hasMany(postNotice::class, 'id', 'id');
}
public function transaction()
{
return $this->hasMany(transactionModel::class, 'id', 'id');
}
public function client()
{
return $this->hasOne(clientModel::class, 'id', 'id');
}

// public function post_notice()
// {
// return $this->hasMany(postNotice::class, 'id', 'id');
// }
}

0 comments on commit 911dd4e

Please sign in to comment.