mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 04:14:36 +02:00
Write a special log entry to DB when a user withdraws/add/move parts stock
This commit is contained in:
parent
b2157c93e3
commit
4c94d9c150
6 changed files with 256 additions and 10 deletions
|
@ -32,7 +32,7 @@ use App\Entity\LogSystem\DatabaseUpdatedLogEntry;
|
|||
use App\Entity\LogSystem\ElementCreatedLogEntry;
|
||||
use App\Entity\LogSystem\ElementDeletedLogEntry;
|
||||
use App\Entity\LogSystem\ElementEditedLogEntry;
|
||||
use App\Entity\LogSystem\InstockChangedLogEntry;
|
||||
use App\Entity\LogSystem\LegacyInstockChangedLogEntry;
|
||||
use App\Entity\LogSystem\SecurityEventLogEntry;
|
||||
use App\Entity\LogSystem\UserLoginLogEntry;
|
||||
use App\Entity\LogSystem\UserLogoutLogEntry;
|
||||
|
@ -88,7 +88,7 @@ class LogFilterType extends AbstractType
|
|||
'log.type.user_not_allowed' => UserNotAllowedLogEntry::class,
|
||||
|
||||
//Legacy entries
|
||||
'log.type.instock_changed' => InstockChangedLogEntry::class,
|
||||
'log.type.instock_changed' => LegacyInstockChangedLogEntry::class,
|
||||
];
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue