Ajout bouton "nouvelle catégorie" dans l'onglet catégorie de la fiche produit/service
This commit is contained in:
parent
cc32a304f9
commit
295953293c
@ -199,7 +199,14 @@ if ($_GET["id"] || $_GET["ref"])
|
|||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
print '<input type="submit" class="button" value="'.$langs->trans("ClassifyInCategory").'">'. $html->select_all_categories($categorie->id_mere);
|
print '<input type="submit" class="button" value="'.$langs->trans("ClassifyInCategory").'">'. $html->select_all_categories($categorie->id_mere);
|
||||||
print '</td></tr>';
|
print '</td>';
|
||||||
|
|
||||||
|
if ($user->rights->categorie->creer)
|
||||||
|
{
|
||||||
|
print '<td><a class="butAction" href="'.DOL_URL_ROOT.'/categories/fiche.php?action=create">'.$langs->trans("NewCat").'</a></td>';
|
||||||
|
}
|
||||||
|
|
||||||
|
print '</tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
print '<br/>';
|
print '<br/>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user