IVET#43108: Verschil in status bij scannen containers.
svn path=/Website/branches/v2017.2/; revision=35625
This commit is contained in:
@@ -564,7 +564,7 @@ else
|
||||
// Dan taakafhandeling (controle_mode) tonen als:
|
||||
// a) De status is "In behandeling(2)" of "Gereed gemeld (5)".
|
||||
// b) De status "In behandeling(2)" is uitgeschakeld.
|
||||
if (ins_deelsrtcontrole_status == 2 || ins_deelsrtcontrole_status == 5 || this_ins.canInspStart)
|
||||
if (ins_deelsrtcontrole_status == 2 || ins_deelsrtcontrole_status == 5 || !this_ins.canInspStart)
|
||||
{
|
||||
ROFIELD("sel_srtcontrole_oms", L("lcl_ins_controle"), srtcontrole_oms, {});
|
||||
|
||||
@@ -579,7 +579,7 @@ else
|
||||
emptyOption: L("lcl_select_controlemode"),
|
||||
required: true,
|
||||
mobile: true,
|
||||
readonly: (ins_deelsrtcontrole_status >= 5 && !canMsuEdit) // In status 5 en 6 met INSMSU rechten mag ik de methode aanpassen (canMsuEdit).
|
||||
readonly: false // Na het starten of indien het starten geen actieve actie is, moet de taakafhandeling altijd in te vullen of te wijzigen zijn.
|
||||
}
|
||||
);
|
||||
|
||||
@@ -610,9 +610,9 @@ else
|
||||
BUTTON(L("lcl_ins_start"), {click: "ins_start()", dataicon: "clock"});
|
||||
else
|
||||
{
|
||||
if (ins_deelsrtcontrole_status == 2 && this_ins.canInspClose)
|
||||
if (this_ins.canInspClose)
|
||||
BUTTON(L("lcl_ins_close"), {click: "ins_submit('C')", dataicon: "comment"});
|
||||
if (ins_deelsrtcontrole_status == 2 && this_ins.canInspFinish)
|
||||
if (this_ins.canInspFinish)
|
||||
BUTTON(L("lcl_ins_finish"), {click: "ins_submit('F')", dataicon: "check"});
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user