Works on contact canvas in relation to the thirdparty canvas module

Fix: more simple
This commit is contained in:
Regis Houssin 2010-11-04 09:24:53 +00:00
parent e2a4ad2c96
commit 79c9bb3854

View File

@ -247,7 +247,7 @@ function CheckVAT(a) {
<?php } ?>
<?php if ($user->rights->societe->contact->creer) { ?>
<a class="butAction" href="<?php echo DOL_URL_ROOT.'/contact/fiche.php?socid='.$this->control->tpl['id']; ?>&amp;action=create&amp;canvas=default@contact"><?php echo $langs->trans("AddContact"); ?></a>
<a class="butAction" href="<?php echo DOL_URL_ROOT.'/contact/fiche.php?socid='.$this->control->tpl['id'].'&amp;action=create&amp;canvas='.$canvas; ?>"><?php echo $langs->trans("AddContact"); ?></a>
<?php } ?>
<?php if ($user->rights->societe->supprimer) { ?>