mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Debug v22
This commit is contained in:
@@ -10497,7 +10497,7 @@ class Form
|
||||
}
|
||||
|
||||
//if ($conf->browser->layout == 'phone') $ret.='<div class="clearboth"></div>';
|
||||
$ret .= '<div class="inline-block floatleft valignmiddle maxwidth750 marginbottomonly refid' . (($shownav && ($previous_ref || $next_ref)) ? ' refidpadding' : '') . '">';
|
||||
$ret .= '<!-- Ref or ID --><div class="inline-block floatleft valignmiddle maxwidth750 marginbottomonly refid' . (($shownav && ($previous_ref || $next_ref)) ? ' refidpadding' : '') . '">';
|
||||
|
||||
// For thirdparty, contact, user, member, the ref is the id, so we show something else
|
||||
if ($object->element == 'societe') {
|
||||
@@ -10553,6 +10553,8 @@ class Form
|
||||
$ret .= $object->label;
|
||||
} elseif ($object->element == 'ecm_directories') {
|
||||
$ret .= '';
|
||||
} elseif ($object->element == 'accountingbookkeeping' && !empty($object->context['mode']) && $object->context['mode'] == '_tmp') {
|
||||
$ret .= $langs->trans("Draft");
|
||||
} elseif ($fieldref != 'none') {
|
||||
$ret .= dol_htmlentities(!empty($object->$fieldref) ? $object->$fieldref : "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user