feat: phase 6 — dashboard widgets, sales & stock reports, user management, activity log

This commit is contained in:
sean
2026-08-25 19:25:40 +07:00
parent 28937a786e
commit feba1ec839
18 changed files with 1011 additions and 5 deletions
+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Services;
use App\Services\InsForge\InsForgeTableService;
class ActivityLogService extends InsForgeTableService
{
protected function table(): string
{
return 'activity_logs';
}
protected function select(): string
{
return '*,users(name)';
}
protected function searchableColumns(): array
{
return ['description', 'action', 'entity_type'];
}
protected function sortableColumns(): array
{
return ['created_at'];
}
}