Avoid error on screen
This commit is contained in:
parent
d8d4d15b4b
commit
0503373e31
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2013-2016 Laurent Destaileur <ely@users.sourceforge.net>
|
/* Copyright (C) 2013-2018 Laurent Destaileur <ely@users.sourceforge.net>
|
||||||
* Copyright (C) 2014 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2014 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@ -285,7 +285,7 @@ if ($action == 'createmovements')
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dol_print_error('',"Bad value saved into sessions");
|
// dol_print_error('',"Bad value saved into sessions");
|
||||||
$error++;
|
$error++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -375,25 +375,25 @@ else
|
|||||||
$limit = $conf->global->PRODUIT_LIMIT_SIZE;
|
$limit = $conf->global->PRODUIT_LIMIT_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
print $form->select_produits($id_product, 'productid', $filtertype, $limit, 0, -1, 2, '', 0, array(), 0, '1', 0, 'minwidth300imp maxwidth400', 1);
|
print $form->select_produits($id_product, 'productid', $filtertype, $limit, 0, -1, 2, '', 0, array(), 0, '1', 0, 'minwidth200imp maxwidth300', 1);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
// Batch number
|
// Batch number
|
||||||
if ($conf->productbatch->enabled)
|
if ($conf->productbatch->enabled)
|
||||||
{
|
{
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<input type="text" name="batch" class="flat maxwidth50onsmartphone" value="'.$batch.'">';
|
print '<input type="text" name="batch" class="flat maxwidth50" value="'.$batch.'">';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// In warehouse
|
// In warehouse
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $formproduct->selectWarehouses($id_sw, 'id_sw', 'warehouseopen,warehouseinternal', 1, 0, 0, '', 0, 0, array(), 'minwidth200imp');
|
print $formproduct->selectWarehouses($id_sw, 'id_sw', 'warehouseopen,warehouseinternal', 1, 0, 0, '', 0, 0, array(), 'minwidth200imp maxwidth200');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
// Out warehouse
|
// Out warehouse
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $formproduct->selectWarehouses($id_tw, 'id_tw', 'warehouseopen,warehouseinternal', 1, 0, 0, '', 0, 0, array(), 'minwidth200imp');
|
print $formproduct->selectWarehouses($id_tw, 'id_tw', 'warehouseopen,warehouseinternal', 1, 0, 0, '', 0, 0, array(), 'minwidth200imp maxwidth200');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
// Qty
|
// Qty
|
||||||
print '<td align="center"><input type="text" size="3" class="flat" name="qty" value="'.$qty.'"></td>';
|
print '<td align="center"><input type="text" class="flat maxwidth50" name="qty" value="'.$qty.'"></td>';
|
||||||
// Button to add line
|
// Button to add line
|
||||||
print '<td align="right"><input type="submit" class="button" name="addline" value="'.dol_escape_htmltag($titletoadd).'"></td>';
|
print '<td align="right"><input type="submit" class="button" name="addline" value="'.dol_escape_htmltag($titletoadd).'"></td>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user