|
@@ -781,9 +781,7 @@ class FormProduct
|
|
*/
|
|
*/
|
|
public function selectLotDataList($htmlname = 'batch_id', $empty = 0, $fk_product = 0, $fk_entrepot = 0, $objectLines = array())
|
|
public function selectLotDataList($htmlname = 'batch_id', $empty = 0, $fk_product = 0, $fk_entrepot = 0, $objectLines = array())
|
|
{
|
|
{
|
|
- global $conf, $langs;
|
|
|
|
-
|
|
|
|
- dol_syslog(get_class($this)."::selectLotDataList $htmlname, $empty, $fk_product, $fk_entrepot,$objectLines", LOG_DEBUG);
|
|
|
|
|
|
+ dol_syslog(get_class($this)."::selectLotDataList $htmlname, $empty, $fk_product, $fk_entrepot", LOG_DEBUG);
|
|
|
|
|
|
$out = '';
|
|
$out = '';
|
|
$productIdArray = array();
|
|
$productIdArray = array();
|
|
@@ -817,7 +815,7 @@ class FormProduct
|
|
if (empty($fk_entrepot) || $fk_entrepot == $arraytypes['entrepot_id']) {
|
|
if (empty($fk_entrepot) || $fk_entrepot == $arraytypes['entrepot_id']) {
|
|
$label = $arraytypes['entrepot_label'] . ' - ';
|
|
$label = $arraytypes['entrepot_label'] . ' - ';
|
|
$label .= $arraytypes['batch'];
|
|
$label .= $arraytypes['batch'];
|
|
- $out .= '<option>' . $arraytypes['batch'] . '</option>';
|
|
|
|
|
|
+ $out .= '<option data-warehouse="'.dol_escape_htmltag($label).'">' . $arraytypes['batch'] . '</option>';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|