refs #5334 fix hasToSendMail
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-05-26 14:23:34 +02:00
parent ceaaece007
commit 3aa5ce6208
3 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,7 @@ class Controller extends ModuleCard {
reload() { reload() {
const filter = { const filter = {
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName', fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'], 'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
include: [ include: [
{ {
relation: 'client', relation: 'client',

View File

@ -17,7 +17,7 @@ class Controller extends Descriptor {
loadData() { loadData() {
const filter = { const filter = {
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName', fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'], 'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
include: [ include: [
{ {
relation: 'client', relation: 'client',

View File

@ -14,7 +14,7 @@ class Controller extends Summary {
const query = `Departments/${value.id}`; const query = `Departments/${value.id}`;
const filter = { const filter = {
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName', fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'], 'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
include: [ include: [
{ {
relation: 'client', relation: 'client',
@ -30,9 +30,10 @@ class Controller extends Summary {
] ]
}; };
this.$http.get(query, {params: {filter}}).then(res => { this.$http.get(query, {params: {filter}})
this.$.worker = res.data; .then(res => {
}); this.$.department = res.data;
});
} }
get isHr() { get isHr() {