Skip to content

Commit

Permalink
Fix PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS on project edit view
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey.girard committed Jun 24, 2016
1 parent f6119cf commit 321ccce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions htdocs/projet/card.php
Expand Up @@ -635,8 +635,12 @@
$filteronlist='';
if (! empty($conf->global->PROJECT_FILTER_FOR_THIRDPARTY_LIST)) $filteronlist=$conf->global->PROJECT_FILTER_FOR_THIRDPARTY_LIST;
$text=$form->select_thirdparty_list($object->thirdparty->id, 'socid', $filteronlist, 1, 1);
$texthelp=$langs->trans("IfNeedToUseOhterObjectKeepEmpty");
print $form->textwithtooltip($text.' '.img_help(), $texthelp, 1, 0, '', '', 2);
if (empty($conf->global->PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS) && empty($conf->dol_use_jmobile))
{
$texthelp=$langs->trans("IfNeedToUseOhterObjectKeepEmpty");
print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
}
else print $text;
print '</td></tr>';

// Visibility
Expand Down

0 comments on commit 321ccce

Please sign in to comment.