refs #7844 Change in problems calc #2842

Merged
guillermo merged 6 commits from 7844-changeProblemsCalc into dev 2024-08-27 08:07:26 +00:00
Member
No description provided.
guillermo added 1 commit 2024-08-07 08:33:02 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
ea75446982
refs #7844 Change in problems calc
guillermo added 1 commit 2024-08-07 08:40:14 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
4f2e343d0c
refs #7844 Fix
guillermo added 1 commit 2024-08-07 10:39:22 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
8aa06e12b3
refs #7844 Fix tests part 1/2
guillermo added 1 commit 2024-08-07 11:51:04 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
4cbea3bf7b
refs #7844 Fix tests part 2/2
guillermo added 1 commit 2024-08-07 11:52:45 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
09a0459a7b
refs #7844 Fix tests part 2/2
guillermo requested review from jgallego 2024-08-07 12:02:22 +00:00
jgallego requested changes 2024-08-12 04:59:29 +00:00
Dismissed
@ -56,0 +75,4 @@
JOIN ticket t ON t.id = sgp.ticketFk
LEFT JOIN sale s ON s.ticketFk = t.id
LEFT JOIN item i ON i.id = s.itemFk
WHERE s.problem <> '' OR t.problem <> '' OR t.risk
Owner

quin cas pot haver que tinga t.risk pero no s'haja produit previament un problema? perque si es un problema deuria estar en hasRisk i si no ho es no contemplar-ho.

quin cas pot haver que tinga t.risk pero no s'haja produit previament un problema? perque si es un problema deuria estar en hasRisk i si no ho es no contemplar-ho.
Author
Member

Hi han molts casos en el que hi ha t.risk pero no t.problem

Hi han molts casos en el que hi ha t.risk pero no t.problem
guillermo marked this conversation as resolved
@ -239,2 +174,3 @@
GROUP BY sgp.ticketFk
) sub
ON DUPLICATE KEY UPDATE itemDelay = sub.problem, saleFk = sub.saleFk;
ON DUPLICATE KEY UPDATE itemLost = sub.problem, saleFk = sub.saleFk;
Owner

este canvi es extrany, perque es canviaba avans el itemDelay?

este canvi es extrany, perque es canviaba avans el itemDelay?
Author
Member

Ni idea, pareix ser que estaba mal perque no te sentit.

Ni idea, pareix ser que estaba mal perque no te sentit.
guillermo marked this conversation as resolved
guillermo requested review from jgallego 2024-08-12 09:10:50 +00:00
jgallego approved these changes 2024-08-12 14:52:26 +00:00
guillermo added 1 commit 2024-08-27 08:04:25 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
79e2424a41
Merge branch 'dev' into 7844-changeProblemsCalc
guillermo merged commit 724a9b5dc1 into dev 2024-08-27 08:07:26 +00:00
guillermo deleted branch 7844-changeProblemsCalc 2024-08-27 08:07:26 +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#2842
No description provided.