Fix phpcs
This commit is contained in:
parent
a0e377feb3
commit
af09c77a0c
@ -260,7 +260,7 @@ class Boms extends DolibarrApi
|
|||||||
throw new RestException(500, 'Error when deleting BOM : '.$this->bom->error);
|
throw new RestException(500, 'Error when deleting BOM : '.$this->bom->error);
|
||||||
}
|
}
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'success' => array(
|
'success' => array(
|
||||||
'code' => 200,
|
'code' => 200,
|
||||||
'message' => 'BOM deleted'
|
'message' => 'BOM deleted'
|
||||||
|
|||||||
@ -150,7 +150,7 @@ class modStripe extends DolibarrModules
|
|||||||
'target' => '',
|
'target' => '',
|
||||||
'user' => 0
|
'user' => 0
|
||||||
);
|
);
|
||||||
$this->menu[$r] = array(
|
$this->menu[$r] = array(
|
||||||
'fk_menu' => 'fk_mainmenu=bank,fk_leftmenu=stripe',
|
'fk_menu' => 'fk_mainmenu=bank,fk_leftmenu=stripe',
|
||||||
'type' => 'left',
|
'type' => 'left',
|
||||||
'titre' => 'StripePayoutList',
|
'titre' => 'StripePayoutList',
|
||||||
|
|||||||
@ -486,7 +486,7 @@ class doc_generic_myobject_odt extends ModelePDFMyObject
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
$odfHandler->saveToDisk($file);
|
$odfHandler->saveToDisk($file);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$this->error=$e->getMessage();
|
$this->error=$e->getMessage();
|
||||||
dol_syslog($e->getMessage(), LOG_INFO);
|
dol_syslog($e->getMessage(), LOG_INFO);
|
||||||
|
|||||||
@ -77,7 +77,7 @@ $contact = $GLOBALS['objcanvas']->control->object;
|
|||||||
<?php if ($this->control->tpl['ismodifiable_customercode']) { ?>
|
<?php if ($this->control->tpl['ismodifiable_customercode']) { ?>
|
||||||
<input type="text" name="code_client" size="16" value="<?php echo $this->control->tpl['customercode']; ?>" maxlength="15">
|
<input type="text" name="code_client" size="16" value="<?php echo $this->control->tpl['customercode']; ?>" maxlength="15">
|
||||||
<?php } else { ?>
|
<?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']; ?>">
|
<input type="hidden" name="code_client" value="<?php echo $this->control->tpl['customercode']; ?>">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
@ -98,7 +98,7 @@ $contact = $GLOBALS['objcanvas']->control->object;
|
|||||||
<?php if ($this->control->tpl['ismodifiable_suppliercode']) { ?>
|
<?php if ($this->control->tpl['ismodifiable_suppliercode']) { ?>
|
||||||
<input type="text" name="code_fournisseur" size="16" value="<?php echo $this->control->tpl['suppliercode']; ?>" maxlength="15">
|
<input type="text" name="code_fournisseur" size="16" value="<?php echo $this->control->tpl['suppliercode']; ?>" maxlength="15">
|
||||||
<?php } else { ?>
|
<?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']; ?>">
|
<input type="hidden" name="code_fournisseur" value="<?php echo $this->control->tpl['suppliercode']; ?>">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -75,7 +75,7 @@ if (empty($conf) || ! is_object($conf))
|
|||||||
<?php if ($this->control->tpl['ismodifiable_customercode']) { ?>
|
<?php if ($this->control->tpl['ismodifiable_customercode']) { ?>
|
||||||
<input type="text" name="code_client" size="16" value="<?php echo $this->control->tpl['customercode']; ?>" maxlength="15">
|
<input type="text" name="code_client" size="16" value="<?php echo $this->control->tpl['customercode']; ?>" maxlength="15">
|
||||||
<?php } else { ?>
|
<?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']; ?>">
|
<input type="hidden" name="code_client" value="<?php echo $this->control->tpl['customercode']; ?>">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
@ -96,7 +96,7 @@ if (empty($conf) || ! is_object($conf))
|
|||||||
<?php if ($this->control->tpl['ismodifiable_suppliercode']) { ?>
|
<?php if ($this->control->tpl['ismodifiable_suppliercode']) { ?>
|
||||||
<input type="text" name="code_fournisseur" size="16" value="<?php echo $this->control->tpl['suppliercode']; ?>" maxlength="15">
|
<input type="text" name="code_fournisseur" size="16" value="<?php echo $this->control->tpl['suppliercode']; ?>" maxlength="15">
|
||||||
<?php } else { ?>
|
<?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']; ?>">
|
<input type="hidden" name="code_fournisseur" value="<?php echo $this->control->tpl['suppliercode']; ?>">
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user