Skip to content
Snippets Groups Projects
Commit 1247655f authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX set signatory = true when document come from external signatory book

parent e7cb5e7d
No related branches found
No related tags found
No related merge requests found
...@@ -243,6 +243,7 @@ function Bt_processVisaWorkflow($aArgs = []) ...@@ -243,6 +243,7 @@ function Bt_processVisaWorkflow($aArgs = [])
$nbUserProcess++; $nbUserProcess++;
// Stop to the first signatory user // Stop to the first signatory user
if ($listInstance->requested_signature) { if ($listInstance->requested_signature) {
$GLOBALS['db']->query("UPDATE listinstance SET signatory = 'true' WHERE listinstance_id = ?", [$listInstance->listinstance_id]);
break; break;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment