fix: refs #7549 update handleWorker to check for commercial responsible by description
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
8eb81fadf3
commit
ad178825db
|
@ -116,7 +116,11 @@ const handleWorker = async (row) => {
|
|||
return;
|
||||
}
|
||||
|
||||
if (claimResponsibleFk === 11) {
|
||||
const commercialResponsible = claimResponsibles.value.find(
|
||||
(responsible) => responsible.description === 'Comerciales',
|
||||
);
|
||||
|
||||
if (claimResponsibleFk === commercialResponsible?.id) {
|
||||
row.workerFk = claim.workerFk;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue