Debug v19
This commit is contained in:
parent
e12818be0a
commit
bc1574c418
1 changed files with 1 additions and 1 deletions
|
|
@ -2172,7 +2172,7 @@ if ($action == 'create') {
|
|||
'perm' => $user->hasRight('commande', 'creer')
|
||||
);
|
||||
}
|
||||
if (isModEnabled('facture') && $object->status > 0 && $soc->client ==1) {
|
||||
if (isModEnabled('facture') && $object->status > 0 && $soc->client > 0) {
|
||||
$arrayofcreatebutton[] = array(
|
||||
'url' => '/compta/facture/card.php?action=create&origin='.$object->element.'&originid='.$object->id.'&socid='.$object->thirdparty->id,
|
||||
'label' => $langs->trans('Bill'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue