4658-createWorker #1236
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1236
Loading…
Reference in New Issue
No description provided.
Delete Branch "4658-createWorker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +108,4 @@
required: true,
},
{
arg: 'profileTypeFk',
El campo se rellena en Access pero en el codigo no se utiliza para nada, seguir usandolo en Salix o quitarlo?
Eliminar campo
WIP: 4658-createWorkerto 4658-createWorker@ -0,0 +3,4 @@
VALUES
('ProfileType', '*', '*', 'ALLOW', 'ROLE', 'employee');
CREATE TABLE `vn`.`newWorkerConfig` (
usar workerConfig
@ -0,0 +5,4 @@
CREATE TABLE `vn`.`newWorkerConfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`street` VARCHAR(25) NULL,
quitar street
@ -0,0 +6,4 @@
CREATE TABLE `vn`.`newWorkerConfig` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`street` VARCHAR(25) NULL,
`provinceFk` smallint(6) unsigned NULL,
cambiar por postalCode que rellena el resto de campos
@ -0,0 +7,4 @@
`id` int(11) NOT NULL AUTO_INCREMENT,
`street` VARCHAR(25) NULL,
`provinceFk` smallint(6) unsigned NULL,
`companyFk` smallint(5) unsigned NULL,
usar la del usuario conectado
@ -0,0 +1,79 @@
import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer';
describe('Worker calendar path', () => {
Este E2E esta conforme lo que Juan comentà de que els it siguen independents?
@ -0,0 +2,4 @@
module.exports = Self => {
Self.remoteMethodCtx('new', {
description: 'Creates a new ticket and returns the id',
canvia la descripcio
@ -0,0 +129,4 @@
const myOptions = {};
const args = ctx.args;
let tx;
const
@ -0,0 +160,4 @@
nickname,
password: randomPassword.password,
email: args.email,
role: args.roleFk,
preguntar a laboral si lo quitamos de la creacion.
Preguntar si al crearlo alguna vez ponen algo distinto a employee
Quitar
@ -0,0 +198,4 @@
provinceFk: args.provinceFk,
postalCode: args.postalCode,
mobile: args.phone,
nickname: 'TR ' + nickname,
Preguntar a Alicia si esto aun es útil
@ -0,0 +204,4 @@
myOptions
);
client = await models.Client.findById(user.id, null, myOptions);
preguntar si en estos casos sí es posible el null
4658-createWorkerto WIP: 4658-createWorkerWIP: 4658-createWorkerto 4658-createWorker