Skip to content

Commit

Permalink
the form should be outside table to avoid errors
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Aug 15, 2015
1 parent 924ff21 commit 53a2101
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions htdocs/fourn/commande/orderstoinvoice.php
Expand Up @@ -453,7 +453,9 @@
$companystatic->nom = $soc->nom;
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 '<tr class="liste_titre">';
print_liste_field_titre($langs->trans('Ref'), 'orderstoinvoice.php', 'c.ref', '', '&amp;socid=' . $socid, '', $sortfield, $sortorder);
Expand All @@ -465,8 +467,6 @@
print "</tr>\n";

// 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 '<td class="liste_titre">';
// REF
Expand Down Expand Up @@ -497,7 +497,6 @@
print '</td>';

print '</td></tr>';
print '</form>';

print '<form name="orders2invoice" action="orderstoinvoice.php" method="GET">';
$var = True;
Expand Down

0 comments on commit 53a2101

Please sign in to comment.