Write the stock change comment also in the elementEdited log entry

This commit is contained in:
Jan Böhmer 2023-01-08 01:45:34 +01:00
parent 5d6b7a9470
commit 137c6430b1
2 changed files with 22 additions and 3 deletions

View file

@ -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())
);
}