Debug v20

This commit is contained in:
Laurent Destailleur 2024-06-04 02:24:33 +02:00
parent c62183ba49
commit 22ab3bd334
4 changed files with 7 additions and 6 deletions

View file

@ -99,7 +99,7 @@ class Contact extends CommonObject
'firstname' => array('type' => 'varchar(50)', 'label' => 'Firstname', 'enabled' => 1, 'visible' => 1, 'position' => 50, 'showoncombobox' => 1, 'searchall' => 1),
'poste' => array('type' => 'varchar(80)', 'label' => 'PostOrFunction', 'enabled' => 1, 'visible' => -1, 'position' => 52),
'address' => array('type' => 'varchar(255)', 'label' => 'Address', 'enabled' => 1, 'visible' => -1, 'position' => 55),
'zip' => array('type' => 'varchar(25)', 'label' => 'Zip', 'enabled' => 1, 'visible' => 1, 'position' => 60),
'zip' => array('type' => 'varchar(25)', 'label' => 'Zip', 'enabled' => 1, 'visible' => -1, 'position' => 60),
'town' => array('type' => 'varchar(50)', 'label' => 'Town', 'enabled' => 1, 'visible' => -1, 'position' => 65),
'fk_departement' => array('type' => 'integer', 'label' => 'Fk departement', 'enabled' => 1, 'visible' => 3, 'position' => 70),
'fk_pays' => array('type' => 'integer', 'label' => 'Fk pays', 'enabled' => 1, 'visible' => 3, 'position' => 75),

View file

@ -1631,7 +1631,7 @@ while ($i < $imaxinloop) {
// Company / Third Party
if (!empty($arrayfields['p.fk_soc']['checked']) || !empty($arrayfields['s.nom']['checked'])) {
print '<td class="tdoverflowmax200">';
print '<td class="tdoverflowmax150">';
if ($obj->socid) {
$objsoc = new Societe($db);
$objsoc->fetch($obj->socid);

View file

@ -336,7 +336,7 @@ if ($result) {
$lastmodified .= '<tr class="liste_titre"><th colspan="2">';
//$lastmodified .= img_picto('', 'company', 'class="pictofixedwidth"');
$lastmodified .= '<span class="valignmiddle">'.$transRecordedType.'</span>';
$lastmodified .= '<a class="marginleftonly" href="'.DOL_URL_ROOT.'/societe/list.php?sortfield=s.tms&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastmodified .= '<a class="marginleftonlyshort" href="'.DOL_URL_ROOT.'/societe/list.php?sortfield=s.tms&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastmodified .= '<span class="badge marginleftonlyshort">...</span>';
$lastmodified .= '</a>';
$lastmodified .= '</th>';
@ -459,7 +459,7 @@ if ($result) {
$lastmodifiedcontact .= '<tr class="liste_titre"><th colspan="2">';
//$lastmodifiedcontact .= img_picto('', 'contact', 'class="pictofixedwidth"');
$lastmodifiedcontact .= '<span class="valignmiddle">'.$transRecordedType.'</div>';
$lastmodifiedcontact .= '<a class="marginleftonly" href="'.DOL_URL_ROOT.'/contact/list.php?sortfield=p.tms&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastmodifiedcontact .= '<a class="marginleftonlyshort" href="'.DOL_URL_ROOT.'/contact/list.php?sortfield=p.tms&sortorder=DESC" title="'.$langs->trans("FullList").'">';
//$lastmodifiedcontact .= img_picto($langs->trans("FullList"), 'contact');
$lastmodifiedcontact .= '<span class="badge marginleftonlyshort">...</span>';
$lastmodifiedcontact .= '</th>';

View file

@ -147,7 +147,7 @@ if ($resql) {
$lastcreatedbox .= '<table class="noborder centpercent">';
$lastcreatedbox .= '<tr class="liste_titre"><td colspan="3" class="valignmiddle">';
$lastcreatedbox .= '<span class="valignmiddle">'.$langs->trans("LastUsersCreated", min($num, $max)).'</span>';
$lastcreatedbox .= '<a class="valignmiddle" href="'.DOL_URL_ROOT.'/user/list.php?sortfield=u.datec&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastcreatedbox .= '<a class="valignmiddle marginleftonlyshort" href="'.DOL_URL_ROOT.'/user/list.php?sortfield=u.datec&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastcreatedbox .= '<span class="badge marginleftonlyshort valignmiddle">...</span>';
$lastcreatedbox .= '</a>';
$lastcreatedbox .= '</td>';
@ -162,6 +162,7 @@ if ($resql) {
$fuserstatic->id = $obj->rowid;
$fuserstatic->statut = $obj->statut;
$fuserstatic->status = $obj->statut;
$fuserstatic->lastname = $obj->lastname;
$fuserstatic->firstname = $obj->firstname;
$fuserstatic->login = $obj->login;
@ -253,7 +254,7 @@ if ($canreadperms) {
$lastgroupbox .= '<table class="noborder centpercent">';
$lastgroupbox .= '<tr class="liste_titre"><td colspan="'.$colspan.'">';
$lastgroupbox .= '<span class="valignmiddle">'.$langs->trans("LastGroupsCreated", ($num ? $num : $max)).'</span>';
$lastgroupbox .= '<a class="valignmiddle" href="'.DOL_URL_ROOT.'/user/group/list.php?sortfield=g.datec&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastgroupbox .= '<a class="valignmiddle marginleftonlyshort" href="'.DOL_URL_ROOT.'/user/group/list.php?sortfield=g.datec&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastgroupbox .= '<span class="badge marginleftonlyshort valignmiddle">...</span>';
$lastgroupbox .= '</a>';