2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Frédéric FRANCE
2025-08-16 02:41:48 +02:00
committed by GitHub
parent 2931aad17e
commit 98e9dc2e47

View File

@@ -47,6 +47,8 @@ $note_public = 'note_public';
$note_private = 'note_private';
if ($module == "product") {
'@phan-var-force Product $object';
/** @var Product $object */
$module = ($object->type == Product::TYPE_SERVICE ? 'service' : 'product');
}
$colwidth = (isset($colwidth) ? $colwidth : (empty($cssclass) ? '25' : ''));