Skip to content
Snippets Groups Projects
Commit 1968a807 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: wrong link

parent 83a22826
No related branches found
No related tags found
No related merge requests found
...@@ -99,10 +99,10 @@ if (($conf->propal->enabled && $user->rights->propale->lire) || ...@@ -99,10 +99,10 @@ if (($conf->propal->enabled && $user->rights->propale->lire) ||
} }
// Recherche Propal // Recherche Propal
if ($conf->propal->enabled && $user->rights->propale->lire) if ($conf->propal->enabled && $user->rights->propal->lire)
{ {
$var=false; $var=false;
print '<form method="post" action="'.DOL_URL_ROOT.'/comm/propal.php">'; print '<form method="post" action="'.DOL_URL_ROOT.'/comm/propal/list.php">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAProposal").'</td></tr>'; print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAProposal").'</td></tr>';
...@@ -137,7 +137,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire) ...@@ -137,7 +137,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
/* /*
* Draft proposals * Draft proposals
*/ */
if ($conf->propal->enabled && $user->rights->propale->lire) if ($conf->propal->enabled && $user->rights->propal->lire)
{ {
$sql = "SELECT p.rowid, p.ref, p.total_ht, s.rowid as socid, s.nom as name, s.client, s.canvas"; $sql = "SELECT p.rowid, p.ref, p.total_ht, s.rowid as socid, s.nom as name, s.client, s.canvas";
$sql.= " FROM ".MAIN_DB_PREFIX."propal as p"; $sql.= " FROM ".MAIN_DB_PREFIX."propal as p";
...@@ -468,7 +468,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire && 0) // TODO A REFA ...@@ -468,7 +468,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire && 0) // TODO A REFA
/* /*
* Opened proposals * Opened proposals
*/ */
if ($conf->propal->enabled && $user->rights->propale->lire) if ($conf->propal->enabled && $user->rights->propal->lire)
{ {
$langs->load("propal"); $langs->load("propal");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment