Bug 34361

Summary: Search by date for invoices to close gives Error
Product: Koha Reporter: Daphne Hoolahan <dch>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P1 - high CC: maura.stephens
Version: 22.11   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Daphne Hoolahan 2023-07-24 15:09:00 UTC
Since 22.11, in invoices.pl, if you search by date and then select one or more invoices to Close, you get Error 500.  
Template process failed: undef error - The given date (01/10/2019) does not match the date format (iso) at /usr/share/koha/lib/Koha/DateUtils.pm line 205.

The invoice(s) are actually closed.
Comment 1 Maura Stephens 2023-08-22 10:27:16 UTC
This is really problematic for us here in ATU GalwayMayo. Do  you have any idea when this bug will be resolved? As we reconcile our payments and orders on a monthly basis we usually bulk close invoices by date. It is very frustrating when I can't bring up the open invoices in the last month.
I've noticed that it's not just those I'm trying to close together but any that are retrieved by a date search, they bring up that 500 error when I try and close it.
Comment 2 Katrin Fischer 2023-08-24 08:30:37 UTC
I've updated this from 'enhancement' (default setting) to 'normal' to be a bug. At the moment none of the developers have picked this up (status NEW, not ASSIGNED), so I cannot tell you when it might be fixed.