ZedoX
Filament Activity Logger to show old and new values
You have a few options if you want to show old & new properties
1) Replace
\Z3d0X\FilamentLogger\Loggers\ResourceLogger::class
with your own logger (you can see this file for the current implementation https://github.com/Z3d0X/filament-logger/blob/main/src/Loggers/AbstractModelLogger.php)
2) in the filament-logger.php
config file disable the https://github.com/Z3d0X/filament-logger/blob/main/config/filament-logger.php#L9. Then use configure your models for using the base spatie's activity log package https://spatie.be/docs/laravel-activitylog/v2/advanced-usage/logging-model-events39 replies
Adding BelongsToMany that includes another BelongsToMany relation to a form
Maybe you need to rethink your model structure, since
clientArea
already belongsTo a client
. Do u really need both clientAreas
and clients
relationship on your User.
u can just $user->clientAreas()->with('client')16 replies