[Koha-bugs] [Bug 17015] New Koha Calendar
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 20:01:26 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17015
Shi Yao Wang <shi-yao.wang at inLibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #131667|0 |1
is obsolete| |
--- Comment #282 from Shi Yao Wang <shi-yao.wang at inLibro.com> ---
Created attachment 133604
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133604&action=edit
Bug 17015: DiscreteCalendar->new() method is now in a HASH
This patch adds missing curly brackets in all new() calls.
All tests in t/ should pass too (The one that don't pass are not passing before
the patch)
TEST PLAN:
1- Apply the patch
2- Run installer/data/mysql/updatedatabase.pl
3- Run misc/cronjobs/add_days_discrete_calendar.pl
4- Check that the max date is today + 1 day
5- Attempt a checkout
~ The error "Can't use string ("branchcode") as a HASH ref while
"strict refs" in use at /kohadevbox/koha/Koha/DiscreteCalendar.pm line 79"
is no longer here
5- Run t/db_dependent/DiscreteCalendar.t (prove -l
t/db_dependent/DiscreteCalendar.t)
6- Run all koha test in t/ (prove t). All tests should pass
7- Use Discrete Calendar in Tools->Calendar
USING THE DISCRETE CALENDAR:
1- New UI
a) Calendar on the left
b) Holidays list on the right
2- New color system for holiday types:
a) Working day : white
b) Unique holiday: red
c) Holiday repeating weekly: yellow
d) Holiday repeating yearly: orange
e) Floating holiday: green
f) Need validation: blue
3- When clicking on a date in the calendar, opening, closing hours and holiday
type are displayed.
4- All the fields are editable
5- New radio button to Edit selected dates or Copy to different dates
6- Option to copy the calendar to another branch
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list