fixes #5513 Crear back para añadir funcionalidad de Embalajes de la app #1504

Merged
alexandre merged 16 commits from 5513-backs-embalajes into dev 2023-06-06 06:21:16 +00:00
Contributor
No description provided.
alexandre added 2 commits 2023-05-04 12:31:42 +00:00
gitea/salix/pipeline/head This commit looks good Details
8ae5a0de0f
refs #5513 adding backs and models
gitea/salix/pipeline/head This commit looks good Details
5cdec35ed4
refs #5513 addFromPackaging.spec.js
alexandre added 1 commit 2023-05-08 07:19:08 +00:00
gitea/salix/pipeline/head This commit looks good Details
d21b949ffb
refs #5513 fix getItemsPackaging
alexandre added 1 commit 2023-05-08 07:47:26 +00:00
gitea/salix/pipeline/head This commit looks good Details
372b9a2ce2
refs #5513 test getItemsPackaging
alexandre added 1 commit 2023-05-08 07:48:41 +00:00
jgallego requested changes 2023-05-11 14:05:41 +00:00
@ -0,0 +1,27 @@
CREATE TABLE `vn`.`buyConfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`showLastBuy` int(11) NOT NULL DEFAULT 6 COMMENT 'Meses desde la última compra',
Owner

jo li posaria de nou mirant el codi con el gastes monthsAgo

jo li posaria de nou mirant el codi con el gastes monthsAgo
alexandre marked this conversation as resolved
@ -0,0 +42,4 @@
JOIN vn.travel t ON t.id = e.travelFk
LEFT JOIN entryTmp et ON et.id = i.id
WHERE e.supplierFk = ?
AND (i.family ='EMB' OR i.family = 'CONT')
Owner

es lo mateix pero açò es mes curt i este mes familiarizats

AND i.family IN ('EMB', 'CONT')

es lo mateix pero açò es mes curt i este mes familiarizats AND i.family IN ('EMB', 'CONT')
alexandre marked this conversation as resolved
alexandre added 1 commit 2023-05-12 06:46:23 +00:00
gitea/salix/pipeline/head This commit looks good Details
9760e50212
refs #5513 minor fixes
alexandre changed title from WIP: #5513 Crear back para añadir funcionalidad de Embalajes de la app to fixes #5513 Crear back para añadir funcionalidad de Embalajes de la app 2023-05-12 06:55:06 +00:00
alexandre requested review from jgallego 2023-05-12 07:01:30 +00:00
jgallego approved these changes 2023-05-12 07:13:20 +00:00
jgallego left a comment
Owner

Ací ara cal mirar si fem el merge a dev o que sergio treballe en local sobre esta rama per si ha de fer canvis.

Ací ara cal mirar si fem el merge a dev o que sergio treballe en local sobre esta rama per si ha de fer canvis.
Author
Contributor

Ho provem i si va tot bé faig merge

Ho provem i si va tot bé faig merge
alexandre added 2 commits 2023-05-18 12:49:50 +00:00
alexandre added 1 commit 2023-05-30 09:51:47 +00:00
gitea/salix/pipeline/head This commit looks good Details
30816f7947
Merge branch 'dev' into 5513-backs-embalajes
alexandre added 2 commits 2023-05-30 11:47:18 +00:00
alexandre added 1 commit 2023-05-30 11:49:04 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
576a5f050e
refs #5513 fix back test
alexandre added 1 commit 2023-06-02 07:40:01 +00:00
alexandre added 1 commit 2023-06-05 07:10:29 +00:00
gitea/salix/pipeline/head There was a failure building this commit Details
15b5f10a93
refs #5513 addFromBuy back added
alexandre added 1 commit 2023-06-05 12:25:53 +00:00
gitea/salix/pipeline/head This commit looks good Details
9c9a2d4fe2
Merge branch 'dev' into 5513-backs-embalajes
alexandre requested review from jgallego 2023-06-06 05:11:58 +00:00
jgallego requested changes 2023-06-06 05:27:00 +00:00
@ -0,0 +1,107 @@
module.exports = Self => {
Self.remoteMethodCtx('addFromBuy', {
description: 'Modify a field of a buy or creates a new one with default values',
Owner

no veo en que parte modifica una compra

no veo en que parte modifica una compra
Author
Contributor

Línea 51

Línea 51
alexandre marked this conversation as resolved
@ -0,0 +21,4 @@
});
});
it('should create a receipt travel', async() => {
Owner

should create an incoming travel

should create an incoming travel
alexandre marked this conversation as resolved
@ -0,0 +1,12 @@
const app = require('vn-loopback/server/server');
describe('Supplier getItemsPackaging()', () => {
it('should return a summary the list of items from a determinate supplier', async() => {
Owner

should return a summary of the list of items from a specific supplier

chatgpt

should return a summary of the list of items from a specific supplier chatgpt
alexandre marked this conversation as resolved
alexandre added 1 commit 2023-06-06 05:40:49 +00:00
gitea/salix/pipeline/head This commit looks good Details
36b0216640
refs #5513 changed tests description
alexandre requested review from jgallego 2023-06-06 05:41:12 +00:00
jgallego approved these changes 2023-06-06 06:03:45 +00:00
alexandre merged commit a477bb32ad into dev 2023-06-06 06:21:16 +00:00
alexandre deleted branch 5513-backs-embalajes 2023-06-06 06:21:16 +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#1504
No description provided.