Mauvaise selection du projet dans la ficher commande
This commit is contained in:
parent
98cfb95518
commit
821bd0d28e
@ -548,11 +548,11 @@ else
|
|||||||
print '</td><td colspan="2">';
|
print '</td><td colspan="2">';
|
||||||
if ($_GET["action"] == "classer")
|
if ($_GET["action"] == "classer")
|
||||||
{
|
{
|
||||||
$html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->fk_soc,$commande->projetid,"projetid");
|
$html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->soc_id,$commande->projet_id,"projetid");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->fk_soc,$commande->projetid,"none");
|
$html->form_project($_SERVER["PHP_SELF"]."?id=$commande->id",$commande->soc_id,$commande->projet_id,"none");
|
||||||
}
|
}
|
||||||
print "</td>";
|
print "</td>";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -950,7 +950,7 @@ class Form
|
|||||||
print '<input type="hidden" name="action" value="classin">';
|
print '<input type="hidden" name="action" value="classin">';
|
||||||
print '<table class="noborder" cellpadding="0" cellspacing="0">';
|
print '<table class="noborder" cellpadding="0" cellspacing="0">';
|
||||||
print '<tr><td>';
|
print '<tr><td>';
|
||||||
$this->select_projects($soc_id,$selected,$htmlname);
|
$this->select_projects($socid,$selected,$htmlname);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="left"><input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>';
|
print '<td align="left"><input type="submit" class="button" value="'.$langs->trans("Modify").'"></td>';
|
||||||
print '</tr></table></form>';
|
print '</tr></table></form>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user