';
$var=!$var;
-
}
-
}
print "";
print '';
-
}
llxFooter();
diff --git a/htdocs/product/stock/tpl/stockcorrection.tpl.php b/htdocs/product/stock/tpl/stockcorrection.tpl.php
index d08cf334671..757407a6692 100644
--- a/htdocs/product/stock/tpl/stockcorrection.tpl.php
+++ b/htdocs/product/stock/tpl/stockcorrection.tpl.php
@@ -1,5 +1,5 @@
+/* Copyright (C) 2010-2017 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -15,6 +15,7 @@
* along with this program. If not, see .
*
* $object must be defined
+ * $backtopage
*/
?>
@@ -54,30 +55,34 @@
print '
';
$sellbyselected=dol_mktime(0, 0, 0, GETPOST('sellbymonth'), GETPOST('sellbyday'), GETPOST('sellbyyear'));
$form->select_date($sellbyselected,'sellby','','',1,"");
@@ -113,11 +118,11 @@
// Label of mouvement of id of inventory
$valformovementlabel=((GETPOST("label") && (GETPOST('label') != $langs->trans("MovementCorrectStock",''))) ? GETPOST("label") : $langs->trans("MovementCorrectStock", $productref));
print '
';
- print '
'.$langs->trans("MovementLabel").'
';
- print '
';
+ print '
'.$langs->trans("MovementLabel").'
';
+ print '
';
print '';
print '
';
- print '
'.$langs->trans("InventoryCode").'
';
+ print '
'.$langs->trans("InventoryCode").'
';
print '
';
print '';
diff --git a/htdocs/product/stock/tpl/stocktransfer.tpl.php b/htdocs/product/stock/tpl/stocktransfer.tpl.php
index b38804c05b1..407d8a714d8 100644
--- a/htdocs/product/stock/tpl/stocktransfer.tpl.php
+++ b/htdocs/product/stock/tpl/stocktransfer.tpl.php
@@ -1,5 +1,5 @@
+/* Copyright (C) 2010-2017 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -61,23 +61,23 @@
print '
';
// Serial / Eat-by date
@@ -87,7 +87,7 @@
)
{
print '
';
- print '
element == 'stock'?'': ' class="fieldrequired"').'>'.$langs->trans("batch_number").'
';
+ print '
element == 'stock'?'': ' class="fieldrequired"').'>'.$langs->trans("batch_number").'
';
if ($pdluoid > 0)
{
// If form was opened for a specific pdluoid, field is disabled
@@ -99,14 +99,15 @@
print '';
}
print '
';
- print '
';
+ print '
';
+
+ print '
';
print '
'.$langs->trans("EatByDate").'
';
print $form->select_date(($d_eatby?$d_eatby:$pdluo->eatby),'eatby','','',1,"", 1, 0, 1, ($pdluoid > 0 ? 1 : 0)); // If form was opened for a specific pdluoid, field is disabled
print '
';
print '
'.$langs->trans("SellByDate").'
';
print $form->select_date(($d_sellby?$d_sellby:$pdluo->sellby),'sellby','','',1,"", 1, 0, 1, ($pdluoid > 0 ? 1 : 0)); // If form was opened for a specific pdluoid, field is disabled
print '