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() {
const filter = {
fields: ['id', 'name', 'code', 'workerFk', 'isProduction', 'chatName',
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMai', 'hasToMistake', 'clientFk'],
'isTeleworking', 'notificationEmail', 'hasToRefill', 'hasToSendMail', 'hasToMistake', 'clientFk'],
include: [
{
relation: 'client',

View File

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

View File

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