Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-10-31 23:52:05 +01:00
parent aa306bf5d4
commit 01ac313a87
2 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ $contact = $GLOBALS['objcanvas']->control->object;
<?php if ($this->control->tpl['ismodifiable_customercode']) { ?>
<input type="text" name="code_client" size="16" value="<?php echo $this->control->tpl['customercode']; ?>" maxlength="15">
<?php } else { ?>
<?php echo $this->control->tpl['customercode']; ?>
<?php echo $this->control->tpl['customercode']; ?>
<input type="hidden" name="code_client" value="<?php echo $this->control->tpl['customercode']; ?>">
<?php } ?>
</td>
@ -98,7 +98,7 @@ $contact = $GLOBALS['objcanvas']->control->object;
<?php if ($this->control->tpl['ismodifiable_suppliercode']) { ?>
<input type="text" name="code_fournisseur" size="16" value="<?php echo $this->control->tpl['suppliercode']; ?>" maxlength="15">
<?php } else { ?>
<?php echo $this->control->tpl['suppliercode']; ?>
<?php echo $this->control->tpl['suppliercode']; ?>
<input type="hidden" name="code_fournisseur" value="<?php echo $this->control->tpl['suppliercode']; ?>">
<?php } ?>
</td>

View File

@ -75,7 +75,7 @@ if (empty($conf) || ! is_object($conf))
<?php if ($this->control->tpl['ismodifiable_customercode']) { ?>
<input type="text" name="code_client" size="16" value="<?php echo $this->control->tpl['customercode']; ?>" maxlength="15">
<?php } else { ?>
<?php echo $this->control->tpl['customercode']; ?>
<?php echo $this->control->tpl['customercode']; ?>
<input type="hidden" name="code_client" value="<?php echo $this->control->tpl['customercode']; ?>">
<?php } ?>
</td>
@ -96,7 +96,7 @@ if (empty($conf) || ! is_object($conf))
<?php if ($this->control->tpl['ismodifiable_suppliercode']) { ?>
<input type="text" name="code_fournisseur" size="16" value="<?php echo $this->control->tpl['suppliercode']; ?>" maxlength="15">
<?php } else { ?>
<?php echo $this->control->tpl['suppliercode']; ?>
<?php echo $this->control->tpl['suppliercode']; ?>
<input type="hidden" name="code_fournisseur" value="<?php echo $this->control->tpl['suppliercode']; ?>">
<?php } ?>
</td>