mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Fix: select entity view
This commit is contained in:
@@ -485,7 +485,7 @@ function dol_loginfunction2($langs,$conf,$mysoc)
|
|||||||
$mc = new Multicompany($db);
|
$mc = new Multicompany($db);
|
||||||
$mc->getEntities();
|
$mc->getEntities();
|
||||||
|
|
||||||
$smarty->assign('entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"'));
|
$smarty->assign('select_entity', $mc->select_entities($mc->entities,$lastentity,'tabindex="3"'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Security graphical code
|
// Security graphical code
|
||||||
|
|||||||
@@ -69,12 +69,12 @@
|
|||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{if $entity}
|
{if $select_entity}
|
||||||
<span class="graytitle">{$langs->trans('Entity')}</span>
|
<span class="graytitle">{$langs->trans('Entity')}</span>
|
||||||
<ul class="pageitem">
|
<ul class="pageitem">
|
||||||
<li class="form">
|
<li class="form">
|
||||||
{$entity}
|
{$select_entity}
|
||||||
<span class="arrow" />
|
<span class="arrow"></span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user