1781-zoneHoliday #994

Merged
joan merged 49 commits from 1781-zoneHoliday into dev 2022-08-03 06:41:31 +00:00
3 changed files with 11 additions and 2 deletions
Showing only changes of commit 6359c9e5bf - Show all commits

View File

@ -2577,3 +2577,12 @@ INSERT INTO `vn`.`machineWorker` (`workerFk`, `machineFk`, `inTimed`, `outTimed`
(1106, 2, CURDATE(), NULL),
(1106, 2, DATE_ADD(CURDATE(), INTERVAL + 1 DAY), DATE_ADD(CURDATE(), INTERVAL +1 DAY));
INSERT INTO `vn`.`zoneExclusion` (`id`, `zoneFk`, `dated`, `created`, `userFk`)
VALUES
(1, 1, DATE_ADD(CURDATE(), INTERVAL + 10 DAY), CURDATE(), 100),
(2, 1, DATE_ADD(CURDATE(), INTERVAL + 12 DAY), CURDATE(), 100);
INSERT INTO `vn`.`zoneExclusionGeo` (`zoneExclusionFk`, `geoFk`)
VALUES
(2, 1);

View File

@ -34,7 +34,7 @@ vn-zone-calendar {
background-color: $color-alert;
}
&.geoExcluded .day-number {
background-color: #33CAFF;
background-color: $color-main;
}
}
}

View File

@ -6,7 +6,7 @@ class Controller extends Section {
constructor($element, $, vnWeekDays) {
super($element, $);
this.vnWeekDays = vnWeekDays;
this.editMode = 'exclude';
this.editMode = 'include';
this.exclusions;
vicent marked this conversation as resolved Outdated

this is undefined anyways

this is undefined anyways
this.days;
}