feat: refs #6636 Modified updateClaim, model and tests #2256
|
@ -72,9 +72,7 @@ module.exports = Self => {
|
|||
// Get sales person from claim client
|
||||
const salesPerson = claim.client().salesPersonUser();
|
||||
|
||||
let changedPickup;
|
||||
if (args.pickup != claim.pickup)
|
||||
changedPickup = true;
|
||||
const changedPickup = args.pickup != claim.pickup;
|
||||
guillermo marked this conversation as resolved
Outdated
|
||||
|
||||
// Validate when claimState has been changed
|
||||
if (args.claimStateFk) {
|
||||
|
|
Loading…
Reference in New Issue
Les 3 linies se poden refactoritzar per
const changedPickup = args.pickup != claim.pickup
Muy bien visto