mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Debug 4.0
This commit is contained in:
parent
e2d3f4e27d
commit
7063b26018
|
|
@ -378,7 +378,7 @@ print '</td>';
|
|||
if ($conf->productbatch->enabled)
|
||||
{
|
||||
print '<td>';
|
||||
print '<input type="text" name="batch" value="'.$batch.'">';
|
||||
print '<input type="text" name="batch" size="10" value="'.$batch.'">';
|
||||
print '</td>';
|
||||
}
|
||||
// In warehouse
|
||||
|
|
@ -390,7 +390,7 @@ print '<td>';
|
|||
print $formproduct->selectWarehouses($id_tw,'id_tw','',1);
|
||||
print '</td>';
|
||||
// Qty
|
||||
print '<td align="center"><input type="text" size="4" class="flat" name="qty" value="'.$qty.'"></td>';
|
||||
print '<td align="center"><input type="text" size="3" class="flat" name="qty" value="'.$qty.'"></td>';
|
||||
// Button to add line
|
||||
print '<td align="right"><input type="submit" class="button" name="addline" value="'.dol_escape_htmltag($titletoadd).'"></td>';
|
||||
|
||||
|
|
|
|||
|
|
@ -75,13 +75,15 @@ if (! empty($conf->global->STOCK_CALCULATE_ON_SHIPMENT) || ! empty($conf->global
|
|||
{
|
||||
$virtualdiffersfromphysical=1; // According to increase/decrease stock options, virtual and physical stock may differs.
|
||||
}
|
||||
$usevirtualstock=0;
|
||||
if ($mode == 'virtual') $usevirtualstock=1;
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
|
||||
if (isset($_POST['button_removefilter']) || isset($_POST['valid']))
|
||||
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter.x") || GETPOST("button_removefilter") || isset($_POST['valid'])) // Both test are required to be compatible with all browsers
|
||||
{
|
||||
$sref = '';
|
||||
$snom = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user