Updated models with activity logs

This commit is contained in:
Kwesi Banson
2026-09-23 09:03:01 +00:00
parent 5174e82e51
commit 8a222b691e
15 changed files with 28 additions and 5 deletions

View File

@@ -3,9 +3,11 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Traits\LogsActivity;
class Mnonote extends Model
{
use LogsActivity;
protected $guarded = array('id');
public $table = "mno_notes";
@@ -14,6 +16,6 @@ class Mnonote extends Model
}
public function created_by_info(){
return $this->hasOne('App\Models\SystemUser', 'id', 'user_id');
return $this->hasOne('App\Models\StaffMember', 'id', 'user_id');
}
}