fix: refs #6850 remove notifyPickUp #3132

Merged
carlossa merged 5 commits from 6850-removeChandgeUpdateClaim into dev 2024-10-21 12:31:32 +00:00
1 changed files with 0 additions and 3 deletions
Showing only changes of commit 19fbb836a6 - Show all commits

View File

@ -86,9 +86,6 @@ module.exports = Self => {
const salesPerson = claim.client().salesPersonUser();
if (salesPerson) {
carlossa marked this conversation as resolved Outdated
Outdated
Review

fica el altre if en un and y ahorres tindre 2 ifs

fica el altre if en un and y ahorres tindre 2 ifs
if (changedPickup && updatedClaim.pickup)
await notifyPickUp(ctx, salesPerson.id, claim);
if (args.claimStateFk) {
const newState = await models.ClaimState.findById(args.claimStateFk, null, myOptions);
await notifyStateChange(ctx, salesPerson.id, claim, newState.description);