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

Minor look fix

parent bbc70004
No related branches found
No related tags found
No related merge requests found
...@@ -290,7 +290,7 @@ if ($id > 0 || ! empty($ref)) ...@@ -290,7 +290,7 @@ if ($id > 0 || ! empty($ref))
} }
else else
{ {
print '<tr>'; print '<tr clas="impair">';
print '<td colspan="3">'.$langs->trans("None").'</td>'; print '<td colspan="3">'.$langs->trans("None").'</td>';
print '</tr>'; print '</tr>';
} }
...@@ -436,7 +436,7 @@ if ($id > 0 || ! empty($ref)) ...@@ -436,7 +436,7 @@ if ($id > 0 || ! empty($ref))
$colspan=6; $colspan=6;
if (! empty($conf->stock->enabled)) $colspan++; if (! empty($conf->stock->enabled)) $colspan++;
print '<tr>'; print '<tr class="impair">';
print '<td colspan="'.$colspan.'">'.$langs->trans("None").'</td>'; print '<td colspan="'.$colspan.'">'.$langs->trans("None").'</td>';
print '</tr>'; print '</tr>';
} }
......
<?php <?php
/* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (c) 2004-2013 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (c) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com> * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com> * Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com>
* Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es> * Copyright (C) 2013 Juanjo Menent <jmenent@2byte.es>
...@@ -229,7 +229,7 @@ if (! empty($id) || ! empty($ref)) ...@@ -229,7 +229,7 @@ if (! empty($id) || ! empty($ref))
print $graphfiles[$key]['label']; print $graphfiles[$key]['label'];
print '</td></tr>'; print '</td></tr>';
// Image // Image
print '<tr><td colspan="2" align="center">'; print '<tr class="impair"><td colspan="2" class="nohover" align="center">';
print $graphfiles[$key]['output']; print $graphfiles[$key]['output'];
print '</td></tr>'; print '</td></tr>';
// Date generation // Date generation
......
...@@ -39,7 +39,9 @@ $langs->load("productbatch"); ...@@ -39,7 +39,9 @@ $langs->load("productbatch");
}); });
</script>'; </script>';
print_titre($langs->trans("StockCorrection"));
print load_fiche_titre($langs->trans("StockCorrection"),'','title_generic.png');
print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$id.'" method="post">'."\n"; print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$id.'" method="post">'."\n";
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<input type="hidden" name="action" value="correct_stock">'; print '<input type="hidden" name="action" value="correct_stock">';
......
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
} }
} }
print_titre($langs->trans("StockTransfer")); print load_fiche_titre($langs->trans("StockTransfer"),'','title_generic.png');
print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$product->id.'" method="post">'."\n"; print '<form action="'.$_SERVER["PHP_SELF"].'?id='.$product->id.'" method="post">'."\n";
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<input type="hidden" name="action" value="transfert_stock">'; print '<input type="hidden" name="action" value="transfert_stock">';
......
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