@@ -, +, @@ repeatable_holidays --- .../en/optional/sample_libraries_holidays.sql | 4 -- .../en/optional/sample_libraries_holidays.txt | 1 - .../en/optional/sample_libraries_holidays.yml | 51 +++++++++++++++++++ 3 files changed, 51 insertions(+), 5 deletions(-) delete mode 100644 installer/data/mysql/en/optional/sample_libraries_holidays.sql delete mode 100644 installer/data/mysql/en/optional/sample_libraries_holidays.txt create mode 100644 installer/data/mysql/en/optional/sample_libraries_holidays.yml --- a/installer/data/mysql/en/optional/sample_libraries_holidays.sql +++ a/installer/data/mysql/en/optional/sample_libraries_holidays.sql @@ -1,4 +0,0 @@ -INSERT INTO `repeatable_holidays` VALUES -(2,'MPL',0,NULL,NULL,'','Sundays'), -(3,'MPL',NULL,1,1,'','New Year\'s Day'), -(4,'MPL',NULL,25,12,'','Christmas'); --- a/installer/data/mysql/en/optional/sample_libraries_holidays.txt +++ a/installer/data/mysql/en/optional/sample_libraries_holidays.txt @@ -1, +0,0 @@ -Sample holidays: Sunday, Christmas, New Year's --- a/installer/data/mysql/en/optional/sample_libraries_holidays.yml +++ a/installer/data/mysql/en/optional/sample_libraries_holidays.yml @@ -0,0 +1,51 @@ +--- +# +# Copyright 2020 Koha Development Team +# +# This file is part of Koha. +# +# Koha is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# Koha is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# + +description: + - "Sample holidays: Sunday, Christmas, New Year's" + +tables: + - repeatable_holidays: + translatable: [ description ] + multiline: [] + rows: + - id: 2 + branchcode: MPL + weekday: 0 + day: ~ + month: ~ + title: "" + description: "Sundays" + + - id: 3 + branchcode: MPL + weekday: ~ + day: 1 + month: 1 + title: "" + description: "New Year's Day" + + - id: 4 + branchcode: MPL + weekday: ~ + day: 25 + month: 12 + title: "" + description: "Christmas" --