Works on contact canvas in relation to the thirdparty canvas module
Fix: more simple
This commit is contained in:
parent
e2a4ad2c96
commit
79c9bb3854
@ -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']; ?>&action=create&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'].'&action=create&canvas='.$canvas; ?>"><?php echo $langs->trans("AddContact"); ?></a>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($user->rights->societe->supprimer) { ?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user