Add new fields to items: id_code, image, location; implement QR code generation and printing; update translations and UI
This commit is contained in:
@@ -41,3 +41,7 @@ $twig->addFunction(new \Twig\TwigFunction('trans', function (string $id, array $
|
||||
$twig->addGlobal('current_locale', $locale);
|
||||
$twig->addGlobal('supported_locales', SUPPORTED_LOCALES);
|
||||
$twig->addGlobal('app_name', APP_NAME);
|
||||
|
||||
// Add translated confirm messages for JS
|
||||
$twig->addGlobal('delete_part_confirm', $translator->trans('Are you sure you want to delete this part?'));
|
||||
$twig->addGlobal('delete_category_confirm', $translator->trans('Are you sure you want to delete this category?'));
|
||||
|
||||
Reference in New Issue
Block a user