Add bokshorn-it/filament-activity-timeline package for enhanced audit logging functionality. Update README to reflect new key package and improve localization for audit-related terms. Remove deprecated ActivityLogResource and related pages, integrating activity timeline features into existing resources. Update models to implement ProvidesActivityTitle for better activity tracking.

This commit is contained in:
Mekan1206
2026-08-02 22:37:59 +05:00
parent 0237c2b9ef
commit 3504e39646
46 changed files with 472 additions and 314 deletions

50
lang/en/changes.php Normal file
View File

@@ -0,0 +1,50 @@
<?php
declare(strict_types=1);
return [
'employee_id' => 'Employee',
'department_id' => 'Department',
'position_id' => 'Position',
'shift_id' => 'Shift',
'employee_number' => 'Employee Number',
'full_name' => 'Full Name',
'national_id' => 'Nationality',
'gender' => 'Gender',
'birth_date' => 'Birth Date',
'phone' => 'Phone',
'address' => 'Address',
'employment_status' => 'Employment Status',
'hire_date' => 'Hire Date',
'termination_date' => 'Termination Date',
'notes' => 'Notes',
'profile_photo_path' => 'Profile Photo',
'status' => 'Status',
'type' => 'Type',
'start_date' => 'Start Date',
'end_date' => 'End Date',
'return_date' => 'Return Date',
'days' => 'Days',
'reason' => 'Reason',
'attachment_path' => 'Attachment',
'document_path' => 'Document',
'approved_by' => 'Approved By',
'approved_at' => 'Approved At',
'bonus_date' => 'Bonus Date',
'bonus_type' => 'Bonus Type',
'amount' => 'Amount',
'gift_date' => 'Gift Date',
'gift_name' => 'Gift Name',
'value' => 'Value',
'document_type' => 'Document Type',
'title' => 'Title',
'file_path' => 'File',
'uploaded_at' => 'Uploaded At',
'severity' => 'Severity',
'report_date' => 'Report Date',
'description' => 'Description',
'medical_institution' => 'Medical Institution',
'name' => 'Name',
'code' => 'Code',
'is_active' => 'Active',
];

View File

@@ -186,6 +186,13 @@ return [
'disciplinary_report' => 'Disciplinary Report',
'department' => 'Department',
'user' => 'User',
'position' => 'Position',
'shift' => 'Shift',
'sick_leave' => 'Sick Leave',
'unpaid_leave' => 'Unpaid Leave',
'explanation' => 'Explanation',
'gift' => 'Gift',
'employee_document' => 'Employee Document',
],
'widgets' => [

50
lang/ru/changes.php Normal file
View File

@@ -0,0 +1,50 @@
<?php
declare(strict_types=1);
return [
'employee_id' => 'Сотрудник',
'department_id' => 'Отдел',
'position_id' => 'Должность',
'shift_id' => 'Смена',
'employee_number' => 'Табельный номер',
'full_name' => 'ФИО',
'national_id' => 'Национальность',
'gender' => 'Пол',
'birth_date' => 'Дата рождения',
'phone' => 'Телефон',
'address' => 'Адрес',
'employment_status' => 'Статус занятости',
'hire_date' => 'Дата приёма',
'termination_date' => 'Дата увольнения',
'notes' => 'Примечания',
'profile_photo_path' => 'Фото профиля',
'status' => 'Статус',
'type' => 'Тип',
'start_date' => 'Дата начала',
'end_date' => 'Дата окончания',
'return_date' => 'Дата возвращения',
'days' => 'Дни',
'reason' => 'Причина',
'attachment_path' => 'Вложение',
'document_path' => 'Документ',
'approved_by' => 'Утвердил',
'approved_at' => 'Дата утверждения',
'bonus_date' => 'Дата премии',
'bonus_type' => 'Тип премии',
'amount' => 'Сумма',
'gift_date' => 'Дата подарка',
'gift_name' => 'Название подарка',
'value' => 'Стоимость',
'document_type' => 'Тип документа',
'title' => 'Название',
'file_path' => 'Файл',
'uploaded_at' => 'Дата загрузки',
'severity' => 'Серьёзность',
'report_date' => 'Дата отчёта',
'description' => 'Описание',
'medical_institution' => 'Медицинское учреждение',
'name' => 'Название',
'code' => 'Код',
'is_active' => 'Активен',
];

View File

@@ -186,6 +186,13 @@ return [
'disciplinary_report' => 'Дисциплинарный отчёт',
'department' => 'Отдел',
'user' => 'Пользователь',
'position' => 'Должность',
'shift' => 'Смена',
'sick_leave' => 'Больничный',
'unpaid_leave' => 'Неоплачиваемый отпуск',
'explanation' => 'Объяснительная',
'gift' => 'Подарок',
'employee_document' => 'Документ сотрудника',
],
'widgets' => [

50
lang/tk/changes.php Normal file
View File

@@ -0,0 +1,50 @@
<?php
declare(strict_types=1);
return [
'employee_id' => 'Işgär',
'department_id' => 'Bölüm',
'position_id' => 'Wezipesi',
'shift_id' => 'Smena',
'employee_number' => 'Işgär belgisi',
'full_name' => 'Doly ady',
'national_id' => 'Raýatlygy',
'gender' => 'Jyns',
'birth_date' => 'Doglan senesi',
'phone' => 'Telefon',
'address' => 'Salgy',
'employment_status' => 'Işe alnyş ýagdaýy',
'hire_date' => 'Işe alnan senesi',
'termination_date' => 'Işden boşadylan senesi',
'notes' => 'Bellikler',
'profile_photo_path' => 'Profil suraty',
'status' => 'Ýagdaýy',
'type' => 'Görnüşi',
'start_date' => 'Başlanan senesi',
'end_date' => 'Gutarýan senesi',
'return_date' => 'Yzyna gelen senesi',
'days' => 'Günler',
'reason' => 'Sebäp',
'attachment_path' => 'Goşmaça',
'document_path' => 'Resminama',
'approved_by' => 'Tassyklady',
'approved_at' => 'Tassyklanan senesi',
'bonus_date' => 'Baýrak senesi',
'bonus_type' => 'Baýrak görnüşi',
'amount' => 'Mukdary',
'gift_date' => 'Sowgat senesi',
'gift_name' => 'Sowgat ady',
'value' => 'Bahasy',
'document_type' => 'Resminama görnüşi',
'title' => 'Ady',
'file_path' => 'Faýl',
'uploaded_at' => 'Ýüklenen senesi',
'severity' => 'Agyrlygy',
'report_date' => 'Hasabat senesi',
'description' => 'Düşündiriş',
'medical_institution' => 'Lukmançylyk edarasy',
'name' => 'Ady',
'code' => 'Kod',
'is_active' => 'Işjeň',
];

View File

@@ -186,6 +186,13 @@ return [
'disciplinary_report' => 'Terbiýe hasabaty',
'department' => 'Bölüm',
'user' => 'Ulanyjy',
'position' => 'Wezipesi',
'shift' => 'Smena',
'sick_leave' => 'Kesel rugsady',
'unpaid_leave' => 'Tölegsiz dynç alyş',
'explanation' => 'Düşündiriş',
'gift' => 'Sowgat',
'employee_document' => 'Işgär resminamasy',
],
'widgets' => [