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

--- Comment #29 from Baptiste Wojtkowski (bwoj) 
<[email protected]> ---
(In reply to Katrin Fischer from comment #27)
> Why do we have almost the same errors/messages appear twice in the OPAC
> template?
> koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt
> 
> [% ELSIF failure %]
> ...
> 
> [% UNLESS can_be_discharged %]
> ...
> 
> I like that this makes the code cleaner looking and I also like to see this
> fixed. Please have a look at this and my previous comment for the template
> changes.

I also found it was weird while developing. The business of the function is
quite complex and if I'm not mistaken, the lonely way to go through the second
one is to load the page for discharge while being allowed to discharge, then
disallow the user to get discharged.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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