ASLE#38748 -- Verbeteringen implementatie NH punt 4 en 7

svn path=/Website/branches/v2016.3/; revision=32660
This commit is contained in:
Arthur Egberink
2017-02-01 15:50:06 +00:00
parent 54f5573b0d
commit cceb24f9fc
2 changed files with 9 additions and 3 deletions

View File

@@ -181,6 +181,10 @@
orders.hook_pre_put = function (params, orderdata, key)
{
orderdata.supplier = new_cleaner_key;
orderdata.custom_fields.push({ id: 201,
type: "N",
value: ""
}) ;
// __DoLog(jsondata);
}
}

View File

@@ -149,9 +149,11 @@
{
orders.hook_pre_put = function (params, orderdata, key)
{
// Een uur verschuiven
orderdata.plandate = orders.data.plandate;
orderdata.plandate.setHours(orders.data.plandate.getHours() + 1);
// Set kenmerk 'DND' op 1.
orderdata.custom_fields.push({ id: 201,
type: "N",
value: "1"
}) ;
}
}
if (getQParamInt("Start", 0) == 1)