519 |
|
|
520 |
if (!$client_comm->perm_read) |
if (!$client_comm->perm_read) |
521 |
{ |
{ |
|
print decoct($client_comm->id); |
|
522 |
print "Lecture non authorisée"; |
print "Lecture non authorisée"; |
523 |
} |
} |
524 |
|
|
536 |
|
|
537 |
if ($ligne->statut == -1) |
if ($ligne->statut == -1) |
538 |
{ |
{ |
539 |
$head[$h][0] = DOL_URL_ROOT."/telephonie/ligne/commande.php?id=".$ligne->id; |
if ($user->rights->telephonie->ligne->creer) |
540 |
$head[$h][1] = $langs->trans('Commande'); |
{ |
541 |
$h++; |
$head[$h][0] = DOL_URL_ROOT."/telephonie/ligne/commande.php?id=".$ligne->id; |
542 |
|
$head[$h][1] = $langs->trans('Commande'); |
543 |
|
$h++; |
544 |
|
} |
545 |
} |
} |
546 |
else |
else |
547 |
{ |
{ |