This commit is contained in:
parent
d9d4441d59
commit
d9a5868ce4
|
@ -95,7 +95,7 @@ module.exports = Self => {
|
|||
|
||||
// When claimState has been changed
|
||||
if (args.claimStateFk) {
|
||||
const newState = await models.ClaimState.findById(args.claimStateFk, null, options);
|
||||
const newState = await models.ClaimState.findById(args.claimStateFk, null, myOptions);
|
||||
if (newState.hasToNotify) {
|
||||
if (newState.code == 'incomplete')
|
||||
notifyStateChange(ctx, salesPerson.id, claim, newState.code);
|
||||
|
|
Loading…
Reference in New Issue