From 57a3fdf0ddbafa0a63aea832f5573f96188418ee Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Mon, 15 Nov 2021 12:02:21 +0100 Subject: [PATCH] Fix stampa documento da comando tatiera --- include/top.php | 2 +- modules/movimenti/add.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/top.php b/include/top.php index bbaf487f8..bbf928c34 100755 --- a/include/top.php +++ b/include/top.php @@ -315,7 +315,7 @@ if (Auth::check()) { break; case "f3": event.preventDefault(); - $("#print-button_p").first().trigger("click"); + window.open($("#print-button_p").first().attr("href")); break; case "f4": event.preventDefault(); diff --git a/modules/movimenti/add.php b/modules/movimenti/add.php index 8dd0d79d5..daa9e95c9 100755 --- a/modules/movimenti/add.php +++ b/modules/movimenti/add.php @@ -24,7 +24,7 @@ include_once __DIR__.'/../../core.php'; if (setting('Attiva scorciatoie da tastiera')) { echo '
- '.tr('Scorciatoie da tastiera: F7 - Barcode, F8 - Carico, F9 - Sarico, F10 - Spostamento').' + '.tr('Scorciatoie da tastiera: F7 - Barcode, F8 - Carico, F9 - Scarico, F10 - Spostamento').'
'; }