Nome cliente in firma Wacom

This commit is contained in:
Beppe 2023-08-01 15:08:24 +02:00
parent 3ccd27fae4
commit b5f8c747ef
1 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,8 @@
include_once __DIR__.'/../../../core.php'; include_once __DIR__.'/../../../core.php';
$intervento = Modules\Interventi\Intervento::find($id_record);
echo ' echo '
<script src="'.$rootdir.'/assets/dist/js/wacom.min.js"></script>'; <script src="'.$rootdir.'/assets/dist/js/wacom.min.js"></script>';
@ -84,7 +86,7 @@ echo '
stuCapDialog.addEventListener("ok", function() { stuCapDialog.addEventListener("ok", function() {
renderSignature(); 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() { function generateConfig() {