Fixing style errors.

This commit is contained in:
stickler-ci 2022-10-20 16:54:45 +00:00
parent dfbcc2a045
commit fadd77ef47
3 changed files with 4 additions and 4 deletions

View File

@ -620,7 +620,7 @@ print '<input type="submit" class="button button-edit" value="'.$langs->trans("M
print '</td>';
print '</tr>';
print '</form>';
// Allow online signing
// Allow online signing
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<input type="hidden" name="action" value="set_FICHINTER_ALLOW_ONLINE_SIGN">';
@ -635,7 +635,7 @@ print '<td class="right">';
print '<input type="submit" class="button button-edit" value="'.$langs->trans("Modify").'">';
print '</td>';
print '</tr>';
print '</form>';
print '</form>';
// Allow external download
print '<form action="'.$_SERVER["PHP_SELF"].'" method="post">';
print '<input type="hidden" name="token" value="'.newToken().'">';

View File

@ -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';

View File

@ -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;
}