Clean code

This commit is contained in:
Laurent Destailleur
2023-02-23 20:07:53 +01:00
parent 1573ab5f38
commit f034b12ec1
2 changed files with 3 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ function addDispatchLine(index, type, mode)
{
mode = mode || 'qtymissing'
console.log("fourn/js/lib_dispatch.js.php Split line type="+type+" index="+index+" mode="+mode);
console.log("mrp/js/lib_dispatch.js.php Split line type="+type+" index="+index+" mode="+mode);
if(mode == 'qtymissingconsume' || mode == 'allmissingconsume') {
var inputId = 'qtytoconsume';
var warehouseId = 'idwarehouse';

View File

@@ -432,7 +432,8 @@ $tmpbatch = new Productlot($db);
$tmpstockmovement = new MouvementStock($db);
$help_url = 'EN:Module_Manufacturing_Orders|FR:Module_Ordres_de_Fabrication|DE:Modul_Fertigungsauftrag';
llxHeader('', $langs->trans('Mo'), $help_url, '', 0, 0, array('/mrp/js/lib_dispatch.js.php'));
$morejs = array('/mrp/js/lib_dispatch.js.php');
llxHeader('', $langs->trans('Mo'), $help_url, '', 0, 0, $morejs);
$newToken = newToken();