Transaction Model
The Transaction model extends TransactionTomatoPHP and manages financial transactions within the system. It supports media attachments and activity logging.
- **Activity Logging:**The Transaction model integrates with Spatie Media Library for handling media attachments
public function getActivitylogOptions(): LogOptions
{
return LogOptions::defaults();
}
Table Columns
- id - The primary key of the transactions table.
- table - The associated table (transactions).
- created_at - Timestamp for record creation.
- updated_at - Timestamp for last record update