the form should be outside table to avoid errors
This commit is contained in:
parent
924ff21268
commit
53a21019fd
@ -453,7 +453,9 @@ if (($action != 'create' && $action != 'add') && !$error) {
|
|||||||
$companystatic->nom = $soc->nom;
|
$companystatic->nom = $soc->nom;
|
||||||
print '<h3>' . $companystatic->getNomUrl(1, 'customer') . '</h3>';
|
print '<h3>' . $companystatic->getNomUrl(1, 'customer') . '</h3>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
print '<form method="get" action="orderstoinvoice.php">';
|
||||||
|
print '<input type="hidden" name="socid" value="' . $socid . '">';
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print_liste_field_titre($langs->trans('Ref'), 'orderstoinvoice.php', 'c.ref', '', '&socid=' . $socid, '', $sortfield, $sortorder);
|
print_liste_field_titre($langs->trans('Ref'), 'orderstoinvoice.php', 'c.ref', '', '&socid=' . $socid, '', $sortfield, $sortorder);
|
||||||
@ -465,8 +467,6 @@ if (($action != 'create' && $action != 'add') && !$error) {
|
|||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
// Lignes des champs de filtre
|
// Lignes des champs de filtre
|
||||||
print '<form method="get" action="orderstoinvoice.php">';
|
|
||||||
print '<input type="hidden" name="socid" value="' . $socid . '">';
|
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td class="liste_titre">';
|
print '<td class="liste_titre">';
|
||||||
// REF
|
// REF
|
||||||
@ -497,7 +497,6 @@ if (($action != 'create' && $action != 'add') && !$error) {
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
print '</form>';
|
|
||||||
|
|
||||||
print '<form name="orders2invoice" action="orderstoinvoice.php" method="GET">';
|
print '<form name="orders2invoice" action="orderstoinvoice.php" method="GET">';
|
||||||
$var = True;
|
$var = True;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user