7489-testToMaster #2515

Merged
alexm merged 329 commits from 7489-testToMaster into master 2024-05-28 05:30:19 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 8637488fc1 - Show all commits

View File

@ -1,7 +1,7 @@
-- Place your SQL code here
ALTER TABLE vn.absenceType ADD isFestiveEligible BOOL DEFAULT 1 NOT NULL COMMENT 'Para marcar un tipo de absence';
UPDATE absenceType
UPDATE vn.absenceType
SET isFestiveEligible = 0
WHERE code = 'holiday';

View File

@ -95,7 +95,7 @@ module.exports = Self => {
const hasHalfHoliday = result.halfHolidayCounter > 0;
const isHalfHoliday = absenceType.code === 'halfHoliday';
const isFestive = absenceType.isFestive;
const isFestive = absenceType.isFestiveEligible;
const workCenter = await models.Business.findOne({
where: {id: args.businessFk}

View File

@ -23,7 +23,7 @@
"holidayEntitlementRate": {
"type": "number"
},
"isFestive": {
"isFestiveEligible": {
"type": "boolean"
}
},