From 46bfae63a37848d7106c0042335f1338c8257bea Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 28 Oct 2023 00:06:06 +0200 Subject: [PATCH] Responsive --- htdocs/societe/tpl/linesalesrepresentative.tpl.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/societe/tpl/linesalesrepresentative.tpl.php b/htdocs/societe/tpl/linesalesrepresentative.tpl.php index ded3ff21af9..97ab6e75cca 100644 --- a/htdocs/societe/tpl/linesalesrepresentative.tpl.php +++ b/htdocs/societe/tpl/linesalesrepresentative.tpl.php @@ -25,7 +25,7 @@ print ''; // Sale representative print ''; -print '
'; +print ''; if ($action != 'editsalesrepresentatives' && $user->hasRight('societe', 'creer')) { @@ -47,7 +47,7 @@ if ($action == 'editsalesrepresentatives') { $arrayselected = $object->getSalesRepresentatives($user, 1); } print $form->multiselectarray('commercial', $userlist, $arrayselected, null, null, null, null, "90%"); - print ''; + print ''; print ''; } else { $listsalesrepresentatives = $object->getSalesRepresentatives($user); @@ -59,7 +59,7 @@ if ($action == 'editsalesrepresentatives') { $userstatic->login = $val['login']; $userstatic->lastname = $val['lastname']; $userstatic->firstname = $val['firstname']; - $userstatic->statut = $val['statut']; + $userstatic->status = $val['statut']; $userstatic->photo = $val['photo']; $userstatic->email = $val['email']; $userstatic->office_phone = $val['office_phone']; @@ -67,7 +67,7 @@ if ($action == 'editsalesrepresentatives') { $userstatic->job = $val['job']; $userstatic->entity = $val['entity']; $userstatic->gender = $val['gender']; - print $userstatic->getNomUrl(-1); + print $userstatic->getNomUrl(-1, '', 0, 0, ($nbofsalesrepresentative > 1 ? 16 : (empty($conf->dol_optimize_smallscreen) ? 24 : 20))); print ' '; } } else {
'; print $langs->trans('SalesRepresentatives'); print '