Skip to content
Snippets Groups Projects
Commit 2d037eb3 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX Direction of movement lost if an error occurs

parent 441a8c4a
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ $langs->load("productbatch");
print '<td width="20%">';
print '<select name="mouvement" id="mouvement" class="flat">';
print '<option value="0">'.$langs->trans("Add").'</option>';
print '<option value="1">'.$langs->trans("Delete").'</option>';
print '<option value="1"'.(GETPOST('mouvement')?' selected="selected"':'').'>'.$langs->trans("Delete").'</option>';
print '</select></td>';
print '<td width="20%" class="fieldrequired">'.$langs->trans("NumberOfUnit").'</td><td width="20%"><input class="flat" name="nbpiece" id="nbpiece" size="10" value="'.GETPOST("nbpiece").'"></td>';
print '</tr>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment