Mauvaise selection du projet dans la ficher commande

This commit is contained in:
ccomb 2005-09-06 12:09:05 +00:00
parent 98cfb95518
commit 821bd0d28e
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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>';