mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +02:00
Write the stock change comment also in the elementEdited log entry
This commit is contained in:
parent
5d6b7a9470
commit
137c6430b1
2 changed files with 22 additions and 3 deletions
|
@ -195,7 +195,7 @@ class LogDataTable implements DataTableTypeInterface
|
|||
|
||||
if ($context instanceof PartStockChangedLogEntry) {
|
||||
$text .= sprintf(
|
||||
' (%s)',
|
||||
' (<i>%s</i>)',
|
||||
$this->translator->trans('log.part_stock_changed.' . $context->getInstockChangeType())
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue