mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 09:08:09 +01:00
Merge branch '3.2' of git+ssh://git@github.com/Dolibarr/dolibarr.git into 3.2.1
This commit is contained in:
@@ -98,10 +98,10 @@ if (($conf->propal->enabled && $user->rights->propale->lire) ||
|
||||
}
|
||||
|
||||
// Recherche Propal
|
||||
if ($conf->propal->enabled && $user->rights->propale->lire)
|
||||
if ($conf->propal->enabled && $user->rights->propal->lire)
|
||||
{
|
||||
$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 '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre"><td colspan="3">'.$langs->trans("SearchAProposal").'</td></tr>';
|
||||
@@ -136,7 +136,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire)
|
||||
/*
|
||||
* 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.= " FROM ".MAIN_DB_PREFIX."propal as p";
|
||||
@@ -188,7 +188,7 @@ if ($conf->propal->enabled && $user->rights->propale->lire)
|
||||
}
|
||||
}
|
||||
print "</table><br>";
|
||||
|
||||
|
||||
$db->free($resql);
|
||||
}
|
||||
else
|
||||
@@ -251,7 +251,7 @@ if ($conf->commande->enabled && $user->rights->commande->lire)
|
||||
}
|
||||
}
|
||||
print "</table><br>";
|
||||
|
||||
|
||||
$db->free($resql);
|
||||
}
|
||||
}
|
||||
@@ -467,7 +467,7 @@ if ($conf->contrat->enabled && $user->rights->contrat->lire && 0) // TODO A REFA
|
||||
/*
|
||||
* Opened proposals
|
||||
*/
|
||||
if ($conf->propal->enabled && $user->rights->propale->lire)
|
||||
if ($conf->propal->enabled && $user->rights->propal->lire)
|
||||
{
|
||||
$langs->load("propal");
|
||||
|
||||
@@ -551,4 +551,4 @@ llxFooter();
|
||||
|
||||
$db->close();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user