8144-devToTest_2444 #3137
|
@ -86,9 +86,6 @@ module.exports = Self => {
|
||||||
|
|
||||||
const salesPerson = claim.client().salesPersonUser();
|
const salesPerson = claim.client().salesPersonUser();
|
||||||
if (salesPerson) {
|
if (salesPerson) {
|
||||||
if (changedPickup && updatedClaim.pickup)
|
|
||||||
await notifyPickUp(ctx, salesPerson.id, claim);
|
|
||||||
|
|
||||||
if (args.claimStateFk) {
|
if (args.claimStateFk) {
|
||||||
const newState = await models.ClaimState.findById(args.claimStateFk, null, myOptions);
|
const newState = await models.ClaimState.findById(args.claimStateFk, null, myOptions);
|
||||||
await notifyStateChange(ctx, salesPerson.id, claim, newState.description);
|
await notifyStateChange(ctx, salesPerson.id, claim, newState.description);
|
||||||
|
|
Loading…
Reference in New Issue