Modif register_global
This commit is contained in:
parent
d4fe9609c0
commit
e5fd8d4953
@ -732,17 +732,17 @@ else
|
|||||||
$author->fetch();
|
$author->fetch();
|
||||||
|
|
||||||
|
|
||||||
$head[0][0] = DOL_URL_ROOT.$_SERVER["PHP_SELF"]."?facid=".$_GET["facid"];
|
$head[0][0] = DOL_URL_ROOT.$_SERVER["PHP_SELF"]."?facid=".$fac->id;
|
||||||
$head[0][1] = "Facture : $fac->ref";
|
$head[0][1] = "Facture : $fac->ref";
|
||||||
$h = 1;
|
$h = 1;
|
||||||
$a = 0;
|
$a = 0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT."/compta/facture/note.php?facid=".$_GET["facid"];
|
$head[$h][0] = DOL_URL_ROOT."/compta/facture/note.php?facid=".$fac->id;
|
||||||
$head[$h][1] = "Note";
|
$head[$h][1] = "Note";
|
||||||
$h++;
|
$h++;
|
||||||
$a = 0;
|
$a = 0;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$facture->id;
|
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$fac->id;
|
||||||
$head[$h][1] = "Info";
|
$head[$h][1] = "Info";
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $a, $soc->nom);
|
dolibarr_fiche_head($head, $a, $soc->nom);
|
||||||
@ -943,10 +943,10 @@ else
|
|||||||
// Icone d'edition et suppression
|
// Icone d'edition et suppression
|
||||||
if ($fac->statut == 0 && $user->rights->facture->creer)
|
if ($fac->statut == 0 && $user->rights->facture->creer)
|
||||||
{
|
{
|
||||||
print '<td align="right"><a href="'.$PHPSELF.'?facid='.$fac->id.'&action=editline&rowid='.$objp->rowid.'">';
|
print '<td align="right"><a href="facture.php?facid='.$fac->id.'&action=editline&rowid='.$objp->rowid.'">';
|
||||||
print img_edit();
|
print img_edit();
|
||||||
print '</a></td>';
|
print '</a></td>';
|
||||||
print '<td align="right"><a href="'.$PHPSELF.'?facid='.$fac->id.'&action=deleteline&rowid='.$objp->rowid.'">';
|
print '<td align="right"><a href="facture.php?facid='.$fac->id.'&action=deleteline&rowid='.$objp->rowid.'">';
|
||||||
print img_delete();
|
print img_delete();
|
||||||
print '</a></td>';
|
print '</a></td>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user