mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
Clean code
This commit is contained in:
@@ -69,7 +69,7 @@ function addDispatchLine(index, type, mode)
|
|||||||
{
|
{
|
||||||
mode = mode || 'qtymissing'
|
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') {
|
if(mode == 'qtymissingconsume' || mode == 'allmissingconsume') {
|
||||||
var inputId = 'qtytoconsume';
|
var inputId = 'qtytoconsume';
|
||||||
var warehouseId = 'idwarehouse';
|
var warehouseId = 'idwarehouse';
|
||||||
|
|||||||
@@ -432,7 +432,8 @@ $tmpbatch = new Productlot($db);
|
|||||||
$tmpstockmovement = new MouvementStock($db);
|
$tmpstockmovement = new MouvementStock($db);
|
||||||
|
|
||||||
$help_url = 'EN:Module_Manufacturing_Orders|FR:Module_Ordres_de_Fabrication|DE:Modul_Fertigungsauftrag';
|
$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();
|
$newToken = newToken();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user