|
@@ -570,7 +570,7 @@ foreach ($object->fields as $key => $val) {
|
|
|
$cssforfield .= ($cssforfield ? ' ' : '').'center';
|
|
|
} elseif (in_array($val['type'], array('timestamp'))) {
|
|
|
$cssforfield .= ($cssforfield ? ' ' : '').'nowrap';
|
|
|
- } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) {
|
|
|
+ } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $key != 'rowid' && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) {
|
|
|
$cssforfield .= ($cssforfield ? ' ' : '').'right';
|
|
|
}
|
|
|
if (!empty($arrayfields['t.'.$key]['checked'])) {
|
|
@@ -632,7 +632,7 @@ foreach ($object->fields as $key => $val) {
|
|
|
$cssforfield .= ($cssforfield ? ' ' : '').'center';
|
|
|
} elseif (in_array($val['type'], array('timestamp'))) {
|
|
|
$cssforfield .= ($cssforfield ? ' ' : '').'nowrap';
|
|
|
- } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) {
|
|
|
+ } elseif (in_array($val['type'], array('double(24,8)', 'double(6,3)', 'integer', 'real', 'price')) && $key != 'rowid' && $val['label'] != 'TechnicalID' && empty($val['arrayofkeyval'])) {
|
|
|
$cssforfield .= ($cssforfield ? ' ' : '').'right';
|
|
|
}
|
|
|
$cssforfield = preg_replace('/small\s*/', '', $cssforfield); // the 'small' css must not be used for the title label
|