diff --git a/htdocs/admin/fichinter.php b/htdocs/admin/fichinter.php index e0da7ba9eb3..cf637d37329 100644 --- a/htdocs/admin/fichinter.php +++ b/htdocs/admin/fichinter.php @@ -620,7 +620,7 @@ print ''; print ''; print ''; -// Allow online signing +// Allow online signing print '
'; print ''; print ''; @@ -635,7 +635,7 @@ print ''; print ''; print ''; print ''; -print '
'; +print ''; // Allow external download print '
'; print ''; diff --git a/htdocs/core/ajax/onlineSign.php b/htdocs/core/ajax/onlineSign.php index 0c0b63bbe0c..c71fed19f6d 100644 --- a/htdocs/core/ajax/onlineSign.php +++ b/htdocs/core/ajax/onlineSign.php @@ -313,7 +313,7 @@ if ($action == "importSignature") { // Document format not supported to insert online signature. // We should just create an image file with the signature. } - } + } } elseif ($mode == 'fichinter') { require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/pdf.lib.php'; diff --git a/htdocs/fichinter/class/fichinter.class.php b/htdocs/fichinter/class/fichinter.class.php index 8a1698ca8fb..e36598d04bc 100644 --- a/htdocs/fichinter/class/fichinter.class.php +++ b/htdocs/fichinter/class/fichinter.class.php @@ -483,7 +483,7 @@ class Fichinter extends CommonObject $this->extraparams = (array) json_decode($obj->extraparams, true); $this->last_main_doc = $obj->last_main_doc; - + if ($this->statut == 0) { $this->brouillon = 1; }