Fix: missing action buttons
This commit is contained in:
parent
d80155f7a8
commit
a1df2c357b
@ -170,4 +170,20 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="tabsAction">
|
||||||
|
<?php if ($user->rights->societe->creer) { ?>
|
||||||
|
<a class="butAction" href="<?php echo $_SERVER["PHP_SELF"].'?socid='.$this->control->tpl['id'].'&action=edit&canvas='.$canvas; ?>"><?php echo $langs->trans("Modify"); ?></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='.$canvas; ?>"><?php echo $langs->trans("AddContact"); ?></a>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
<?php if ($user->rights->societe->supprimer) { ?>
|
||||||
|
<a class="butActionDelete" href="<?php echo $_SERVER["PHP_SELF"].'?socid='.$this->control->tpl['id'].'&action=delete&canvas='.$canvas; ?>"><?php echo $langs->trans('Delete'); ?></a>
|
||||||
|
<?php } ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
<!-- END PHP TEMPLATE -->
|
<!-- END PHP TEMPLATE -->
|
||||||
Loading…
Reference in New Issue
Block a user