530 |
{ |
{ |
531 |
print '<form action="fiche.php?id='.$id.'" method="post">'; |
print '<form action="fiche.php?id='.$id.'" method="post">'; |
532 |
print '<input type="hidden" name="action" value="setnote">'; |
print '<input type="hidden" name="action" value="setnote">'; |
533 |
print '<textarea name="note" style="width:95%;height:"80%">'.$commande->note.'</textarea><br>'; |
print '<textarea name="note" style="width:95%;height:80%">'.$commande->note.'</textarea><br>'; |
534 |
print '<center><input type="submit" class="button" value="'.$langs->trans('Save').'"></center>'; |
print '<center><input type="submit" class="button" value="'.$langs->trans('Save').'"></center>'; |
535 |
print '</form>'; |
print '</form>'; |
536 |
} |
} |
548 |
if ($conf->projet->enabled) |
if ($conf->projet->enabled) |
549 |
{ |
{ |
550 |
$langs->load('projects'); |
$langs->load('projects'); |
551 |
print '<td height="10">'; |
print '<tr><td height="10">'; |
552 |
print '<table class="nobordernopadding" width="100%"><tr><td>'; |
print '<table class="nobordernopadding" width="100%"><tr><td>'; |
553 |
print $langs->trans('Project'); |
print $langs->trans('Project'); |
554 |
print '</td>'; |
print '</td>'; |
563 |
{ |
{ |
564 |
$html->form_project($_SERVER['PHP_SELF'].'?id='.$commande->id, $commande->soc_id, $commande->projet_id, 'none'); |
$html->form_project($_SERVER['PHP_SELF'].'?id='.$commande->id, $commande->soc_id, $commande->projet_id, 'none'); |
565 |
} |
} |
566 |
print '</td>'; |
print '</td></tr>'; |
567 |
} |
} |
568 |
else |
else |
569 |
{ |
{ |
570 |
print '<td height="10"> </td><td colspan="2"> </td>'; |
print '<tr><td height="10"> </td><td colspan="2"> </td></tr>'; |
571 |
} |
} |
572 |
|
|
573 |
|
|