Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into 9.0
This commit is contained in:
commit
3118e92d2b
@ -207,7 +207,7 @@ if ($permission) {
|
|||||||
if ($tab[$i]['source']=='external')
|
if ($tab[$i]['source']=='external')
|
||||||
{
|
{
|
||||||
$contactstatic->fetch($tab[$i]['id']);
|
$contactstatic->fetch($tab[$i]['id']);
|
||||||
echo $contactstatic->getNomUrl(1, '', 0, 0, 0, 0, '', 'valignmiddle');
|
echo $contactstatic->getNomUrl(1, '', 0, '', 0, 0, '', 'valignmiddle');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -78,12 +78,12 @@ include DOL_DOCUMENT_ROOT.'/core/actions_fetchobject.inc.php'; // Must be inclu
|
|||||||
|
|
||||||
if (empty($conf->global->MAIN_USE_ADVANCED_PERMS))
|
if (empty($conf->global->MAIN_USE_ADVANCED_PERMS))
|
||||||
{
|
{
|
||||||
$permissiontoadd = $user->rights->stock->write;
|
$permissiontoadd = $user->rights->stock->creer;
|
||||||
$permissiontodelete = $user->rights->stock->write;
|
$permissiontodelete = $user->rights->stock->supprimer;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$permissiontoadd = $user->rights->stock->inventory_advance->create;
|
$permissiontoadd = $user->rights->stock->inventory_advance->write;
|
||||||
$permissiontodelete = $user->rights->stock->inventory_advance->write;
|
$permissiontodelete = $user->rights->stock->inventory_advance->write;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -58,7 +58,7 @@ top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
|
|||||||
$categorie = new Categorie($db);
|
$categorie = new Categorie($db);
|
||||||
$categories = $categorie->get_full_arbo('product');
|
$categories = $categorie->get_full_arbo('product');
|
||||||
?>
|
?>
|
||||||
var categories = JSON.parse( '<?php echo json_encode($categories);?>' );
|
var categories = <?php echo json_encode($categories); ?>;
|
||||||
var currentcat;
|
var currentcat;
|
||||||
var pageproducts=0;
|
var pageproducts=0;
|
||||||
var pagecategories=0;
|
var pagecategories=0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user