Send message to comercial by RocketChat #1897

Merged
jsegarra merged 10 commits from 5499_claim_rocketMessage_comercial into dev 2024-01-11 07:00:13 +00:00
Member
No description provided.
jsegarra added 2 commits 2023-12-20 13:10:04 +00:00
jsegarra added 1 commit 2023-12-21 06:16:40 +00:00
jsegarra added 1 commit 2024-01-04 14:17:39 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
71937a4df3
refs #5499 feat: send RocketMessage when change state
jsegarra added 1 commit 2024-01-04 14:36:57 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
8ee6cfb015
refs #5499 feat: send RocketMessage when change state
jsegarra added 2 commits 2024-01-10 06:48:43 +00:00
jsegarra added 1 commit 2024-01-10 06:50:52 +00:00
gitea/salix/pipeline/head This commit looks good Details
21566fd7ba
refs #5499 code: remove unused translations
jsegarra changed title from WIP: Send message to comercial by RocketChat to Send message to comercial by RocketChat 2024-01-10 07:15:21 +00:00
jsegarra requested review from jgallego 2024-01-10 07:15:29 +00:00
jgallego requested changes 2024-01-10 09:21:48 +00:00
@ -102,3 +99,1 @@
if (newState.code == 'canceled')
await notifyStateChange(ctx, claim.workerFk, claim, newState.code);
}
// if (newState.code == 'incomplete')
Owner

borrar

borrar
jsegarra marked this conversation as resolved
@ -114,3 +112,3 @@
};
async function notifyStateChange(ctx, workerId, claim, state) {
async function notifyStateChange(ctx, id, claim, state) {
Owner

porque lo llamas id? no es el worker?

porque lo llamas id? no es el worker?
Author
Member

No puse worker porque en lo antiguo ,según el "code", usaba el id de salesPerson o de workerFk, y como ya no se distingue por code, puse un nombre genérico.

No puse worker porque en lo antiguo ,según el "code", usaba el id de salesPerson o de workerFk, y como ya no se distingue por code, puse un nombre genérico.
Owner

hasta hoy si un archivo tiene id, y estamos en la ruta claim en este caso, se espera que eso sea claim id. En este caso es confuso, pon una referencia a worker

hasta hoy si un archivo tiene id, y estamos en la ruta claim en este caso, se espera que eso sea claim id. En este caso es confuso, pon una referencia a worker
Author
Member

Corregido(b76e269e73)

Corregido(b76e269e737a63f6102a10ac831a4837424920c9)
jsegarra marked this conversation as resolved
jsegarra added 1 commit 2024-01-10 13:47:48 +00:00
gitea/salix/pipeline/head This commit looks good Details
de4ddf9392
remove bad comment
jsegarra requested review from jgallego 2024-01-10 13:48:39 +00:00
jsegarra added 1 commit 2024-01-11 06:18:05 +00:00
gitea/salix/pipeline/head This commit looks good Details
b76e269e73
refs #5499 perf: rename variable
jgallego approved these changes 2024-01-11 06:33:08 +00:00
jsegarra merged commit 93f80718d8 into dev 2024-01-11 07:00:13 +00:00
jsegarra deleted branch 5499_claim_rocketMessage_comercial 2024-01-11 07:00:13 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#1897
No description provided.