7195_roadmap2 #2554

Merged
sergiodt merged 12 commits from 7195_roadmap2 into dev 2024-07-03 06:56:50 +00:00
Member
No description provided.
sergiodt added 6 commits 2024-06-06 10:33:13 +00:00
sergiodt added 1 commit 2024-07-01 09:28:23 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
22959db0ee
Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 7195_roadmap2
sergiodt added 1 commit 2024-07-01 15:45:54 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
d9742afc9b
feat roadmap refs #7195
sergiodt requested review from jgallego 2024-07-01 15:48:02 +00:00
jgallego requested changes 2024-07-02 06:06:28 +00:00
Dismissed
@ -0,0 +1,63 @@
module.exports = Self => {
Self.remoteMethod('getPalletMatchState', {
description: 'Get pallet',
Owner

posa algo mes concret del que fa el proc

posa algo mes concret del que fa el proc
Author
Member

Afegit

Afegit
sergiodt marked this conversation as resolved
@ -0,0 +32,4 @@
const result = await Self.rawSql(`
WITH tPallet AS(
SELECT ep.truckFk roadMapStop,ep.id pallet, e.id expedition, e.stateTypeFk
Owner

es molt confús que tornes com a roadMapStop un id d'un camio..de fet, pots mirar inclús de no tornar-ho perque sols et tornarà coses d'ixe truck

es molt confús que tornes com a roadMapStop un id d'un camio..de fet, pots mirar inclús de no tornar-ho perque sols et tornarà coses d'ixe truck
Author
Member

Llevat

Llevat
sergiodt marked this conversation as resolved
@ -0,0 +50,4 @@
)
SELECT t.roadMapStop,
t.pallet,
IF (tpe.totalPalletExpedition = tpec.totalPalletExpeditionCode, 'TRUE', 'FALSE') hasMatchStateCode
Owner

aci sobra el if, sols (tpe.totalPalletExpedition = tpec.totalPalletExpeditionCode) ja torna true o false

aci sobra el if, sols (tpe.totalPalletExpedition = tpec.totalPalletExpeditionCode) ja torna true o false
Author
Member

Llevat

Llevat
sergiodt marked this conversation as resolved
@ -0,0 +2,4 @@
const {models} = require('vn-loopback/server/server');
describe('roadMapStop getPalletMatchState()', () => {
fit('should return list of pallet with true or false if state is matched', async() => {
Owner

fit no

fit no
Author
Member

Llevat

Llevat
sergiodt marked this conversation as resolved
sergiodt added 1 commit 2024-07-02 06:39:58 +00:00
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
08cf79b09b
feat roadmap refs #7195
sergiodt added 1 commit 2024-07-02 10:08:47 +00:00
gitea/salix/pipeline/pr-dev Build queued... Details
e1b6ba4276
feat roadmap refs #7195
sergiodt requested review from jgallego 2024-07-02 10:27:17 +00:00
sergiodt added 1 commit 2024-07-02 11:25:48 +00:00
gitea/salix/pipeline/pr-test Build queued... Details
gitea/salix/pipeline/pr-dev There was a failure building this commit Details
61265a45e3
Merge branch 'dev' into 7195_roadmap2
sergiodt changed target branch from dev to test 2024-07-02 14:02:38 +00:00
sergiodt changed target branch from test to dev 2024-07-02 14:04:25 +00:00
sergiodt changed target branch from dev to test 2024-07-02 14:06:23 +00:00
sergiodt changed target branch from test to dev 2024-07-02 14:08:46 +00:00
jgallego approved these changes 2024-07-02 16:07:22 +00:00
alexm changed target branch from dev to test 2024-07-03 06:44:45 +00:00
alexm changed target branch from test to dev 2024-07-03 06:44:52 +00:00
sergiodt added 1 commit 2024-07-03 06:46:12 +00:00
gitea/salix/pipeline/pr-dev This commit looks good Details
7677ada925
Merge branch 'dev' into 7195_roadmap2
sergiodt merged commit 947c28b988 into dev 2024-07-03 06:56:50 +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#2554
No description provided.