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

void
settings()

Configure the table settings.

array
columns()

Define the columns for the table.

array
filters()

Define the filters for the table.

void
showDetails(int|string $id)

Open the modal to view log details.

array
options()

Define the bulk actions available for the table.

BinaryFileResponse
export_all()

Export all data to Excel.

BinaryFileResponse
export_filtered()

Export filtered data to Excel.

BinaryFileResponse|void
export_selected()

Export selected rows to Excel.

Details

at line 44
void settings()

Configure the table settings.

Return Value

void

at line 57
array columns()

Define the columns for the table.

Return Value

array

at line 94
array filters()

Define the filters for the table.

Return Value

array

at line 110
void showDetails(int|string $id)

Open the modal to view log details.

Parameters

int|string $id

The ID of the log entry

Return Value

void

at line 121
array options()

Define the bulk actions available for the table.

Return Value

array

at line 135
BinaryFileResponse export_all()

Export all data to Excel.

Return Value

BinaryFileResponse

at line 146
BinaryFileResponse export_filtered()

Export filtered data to Excel.

Return Value

BinaryFileResponse

at line 157
BinaryFileResponse|void export_selected()

Export selected rows to Excel.

Return Value

BinaryFileResponse|void