feat: implement system-wide activity logging with database persistence, repository patterns, and admin controller access.

This commit is contained in:
pbao9
2026-05-16 20:01:52 +07:00
parent 8a115c5175
commit 551c90d60b
44 changed files with 845 additions and 33 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
namespace App\Models;
use App\Traits\LogsActivity;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
@@ -9,7 +10,7 @@ use App\Traits\HasUuid;
class Transaction extends Model
{
use HasFactory, SoftDeletes, HasUuid;
use HasFactory, SoftDeletes, HasUuid, LogsActivity;
protected $table = 'transactions';
protected $fillable = [