From b5f8c747ef697eca7c62468a8cd4dba773fc2fa5 Mon Sep 17 00:00:00 2001 From: Beppe Date: Tue, 1 Aug 2023 15:08:24 +0200 Subject: [PATCH] Nome cliente in firma Wacom --- modules/interventi/modals/firma_tavoletta.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/interventi/modals/firma_tavoletta.php b/modules/interventi/modals/firma_tavoletta.php index 59cff3ea2..cf4f7355f 100644 --- a/modules/interventi/modals/firma_tavoletta.php +++ b/modules/interventi/modals/firma_tavoletta.php @@ -19,6 +19,8 @@ include_once __DIR__.'/../../../core.php'; +$intervento = Modules\Interventi\Intervento::find($id_record); + echo ' '; @@ -84,7 +86,7 @@ echo ' stuCapDialog.addEventListener("ok", function() { renderSignature(); }); - stuCapDialog.open(mSigObj, "", "'.tr('Firma').'", [], Module.KeyType.SHA512, documentHash); + stuCapDialog.open(mSigObj, "'.$intervento->anagrafica->ragione_sociale.'", "'.tr('Firma').'", [], Module.KeyType.SHA512, documentHash); } function generateConfig() {