From 998176f03c62219e1364883cb07afa2b588c9bda Mon Sep 17 00:00:00 2001 From: vicent Date: Thu, 4 Aug 2022 08:23:39 +0200 Subject: [PATCH] fix: fixtures --- db/dump/fixtures.sql | 9 ++++----- db/export-data.sh | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index aba854b4f..1df09fc1b 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -1923,12 +1923,11 @@ INSERT INTO `postgresql`.`business_labour_payroll` (`business_id`, `cod_tarifa`, (1107, 7, 12, 100, 2000), (1108, 7, 12, 100, 1500); -INSERT INTO `vn`.`absenceType` (`id`, `name`, `rgb`, `color`, `permissionRate`, `code`) +INSERT INTO `vn`.`absenceType` (`id`, `name`, `rgb`, `color`, `permissionRate`, `code`, `isAllowedToWork`, `isPrintable`, `discountRate`, `holidayEntitlementRate`, `isNaturalDay`, `isCalculate`) VALUES - (1, 'Holidays', '#97B92F', 255, 1.00, 'holiday'), - (2, 'Common disease leave', '#97B92F', 255, 1.00, 'commonDisease'), - (6, 'Holidays 1/2 day', '#97B92F', 255, 1.00, 'halfHoliday'); - + (1, 'Holidays', '#97B92F', 255, 1.00, 'holiday', 0, 1, 0.00, 0.00, 1, 1), + (2, 'Common disease leave', '#4A614A', 4874570, 1.00, 'commonDisease', 0, 0, 1.00, 0.00, 0, 1), + (6, 'Holidays 1/2 day', '#E65F00', 39423, 0.50, 'halfHoliday', 1, 1, 0.50, 0.00, 1, 1); INSERT INTO `postgresql`.`calendar_employee` (`business_id`, `calendar_state_id`, `date`) VALUES diff --git a/db/export-data.sh b/db/export-data.sh index bbbeb7152..101d0d8b0 100755 --- a/db/export-data.sh +++ b/db/export-data.sh @@ -111,4 +111,4 @@ TABLES=( TiposTransacciones TiposRetencion ) -dump_tables ${TABLES[@]} +dump_tables ${TABLES[@]} \ No newline at end of file