https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39046

Baptiste Wojtkowski (bwoj) <baptiste.wojtkow...@biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #178479|0                           |1
        is obsolete|                            |

--- Comment #7 from Baptiste Wojtkowski (bwoj) 
<baptiste.wojtkow...@biblibre.com> ---
Created attachment 180849
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180849&action=edit
Bug 39046: Use Bootstrap badge to indicate late transfers

This patch removes the error class from the table of late transfers.
Instead, the days late status is shown as a Bootstrap badge. The patch
also adds pluralization to the string so that it adapts based on the
number of late transfers.

To test you would ideally have multiple pending transfers to your
library, some late and some not. This will presumably require manually
updated your database to change the date of pending transfers.

- Make at least one transfer multiple days late by changing the
   `datesent` value to a date late enough to exceed the number of days
   defined in the TransfersMaxDaysWarning system preference.
- Make at least one transfer only one day late.
- When you go to Circulation -> Transfers to receive you should see
  badge-style labels on the transfers which are late.
  - The text of the labels should be correct according to the number: "1
    day late" or "XX days late"

Sponsored-by: Athens County Public Libraries
Signed-off-by: Anneli Österman <anneli.oster...@koha-suomi.fi>
Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkow...@biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to