added sender ID to the clients Tab in Show view plus bug fixes
This commit is contained in:
23
app/Models/Utility.php
Normal file
23
app/Models/Utility.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Activitylog\Traits\LogsActivity;
|
||||
use Spatie\Activitylog\LogOptions;
|
||||
|
||||
|
||||
class Utility extends Model{
|
||||
|
||||
use LogsActivity;
|
||||
protected $guarded = ['id'];
|
||||
protected $table = "utility";
|
||||
protected static $logUnguarded = true;
|
||||
public function getActivitylogOptions(): LogOptions
|
||||
{
|
||||
return LogOptions::defaults()
|
||||
->logUnguarded();
|
||||
// ->logOnly(['name', 'type']);
|
||||
// Chain fluent methods for configuration options
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user