update code

This commit is contained in:
Philippe GRAND 2022-08-30 11:44:26 +02:00
parent 6812d5d890
commit 16788846b9

View File

@ -73,7 +73,7 @@ if (in_array($object->element, array('propal', 'supplier_proposal', 'facture', '
if (!empty($conf->multicurrency->enabled) && $this->multicurrency_code != $conf->currency) {
$colspan += 2;
}
if (!empty($conf->asset->enabled) && $object->element == 'invoice_supplier') {
if (isModEnabled('asset') && $object->element == 'invoice_supplier') {
$colspan++;
}