Skip to content

Commit

Permalink
Fix because project module introduced opportunity, user may create
Browse files Browse the repository at this point in the history
project (opportunity) even when thirdparty does not exists yet, so we
must provide a solution for this.
  • Loading branch information
eldy committed Sep 26, 2015
1 parent f3ba115 commit 5f76541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/projet/card.php
Expand Up @@ -466,6 +466,7 @@
print $form->textwithtooltip($text.' '.img_help(),$texthelp,1);
}
else print $text;
print ' <a href="'.DOL_URL_ROOT.'/societe/soc.php?action=create&backtopage='.urlencode($_SERVER["PHP_SELF"].'?action=create').'">'.$langs->trans("AddThirdParty").'</a>';
print '</td></tr>';

// Status
Expand Down

0 comments on commit 5f76541

Please sign in to comment.