ManageLogs
class ManageLogs extends YATBaseTable
Livewire component to manage Alert Logs.
This component displays a historical log of all alerts sent by the system, including their status, channel, and details.
Properties
| string | $tableName | The name of the table displayed |
|
| string | $model | The model class associated with the table |
|
| AlertLog|null | $selectedLog | The currently selected log entry for detailed view |
|
| bool | $openInfoLogModal | Whether the details modal is open |
Methods
Configure the table settings.
Define the columns for the table.
Define the filters for the table.
Open the modal to view log details.
Define the bulk actions available for the table.
Export all data to Excel.
Export filtered data to Excel.
Export selected rows to Excel.
Details
at line 44
void
settings()
Configure the table settings.
at line 57
array
columns()
Define the columns for the table.
at line 94
array
filters()
Define the filters for the table.
at line 110
void
showDetails(int|string $id)
Open the modal to view log details.
at line 121
array
options()
Define the bulk actions available for the table.
at line 135
BinaryFileResponse
export_all()
Export all data to Excel.
at line 146
BinaryFileResponse
export_filtered()
Export filtered data to Excel.
at line 157
BinaryFileResponse|void
export_selected()
Export selected rows to Excel.