Fix skeleton of module

This commit is contained in:
Laurent Destailleur 2019-08-02 19:06:40 +02:00
parent c01ac05aec
commit 55e8aca47e
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ class MyObject extends CommonObject
const STATUS_DRAFT = 0;
const STATUS_VALIDATED = 1;
const STATUS_DISABLED = 9;
const STATUS_CANCELED = 9;
/**

View File

@ -493,7 +493,7 @@ while ($i < min($num, $limit))
if (in_array($val['type'], array('timestamp'))) $cssforfield.=($cssforfield?' ':'').'nowrap';
elseif ($key == 'ref') $cssforfield.=($cssforfield?' ':'').'nowrap';
if (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price'))) $cssforfield.=($cssforfield?' ':'').'right';
if (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $key != 'status') $cssforfield.=($cssforfield?' ':'').'right';
if (! empty($arrayfields['t.'.$key]['checked']))
{