After bug 22541, clicking the link to the shipment costs on spent.pl causes an internal server error. We should fix that.
Created attachment 91748 [details] [review] Bug 23363 - Fix Internal Server Error when clicking on shipment cost invoice link To test: On the fund detail page, have some shipment costs associated with a fund an example would be cgi-bin/koha/acqui/spent.pl?fund=<your fund>&fund_code=<your code> Click the link for the fund, without this patch it will give an internal server error. With this patch, the shipment invoice will be loaded.
Created attachment 91749 [details] [review] Bug 23363 - Fix Internal Server Error when clicking on shipment cost invoice link To test: On the fund detail page, have some shipment costs associated with a fund an example would be cgi-bin/koha/acqui/spent.pl?fund=<your fund>&fund_code=<your code> Click the link for the fund, without this patch it will give an internal server error. With this patch, the shipment invoice will be loaded. Signed-off-by: Jason DeShaw <JDeShaw@fargolibrary.org> Signed-off-by: Laurel Moran <lmoran@sdlawlibrary.org>
Created attachment 91772 [details] [review] Bug 23363: Fix Internal Server Error when clicking on shipment cost invoice link To test: On the fund detail page, have some shipment costs associated with a fund an example would be cgi-bin/koha/acqui/spent.pl?fund=<your fund>&fund_code=<your code> Click the link for the fund, without this patch it will give an internal server error. With this patch, the shipment invoice will be loaded. Signed-off-by: Jason DeShaw <JDeShaw@fargolibrary.org> Signed-off-by: Laurel Moran <lmoran@sdlawlibrary.org> Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Created attachment 91773 [details] [review] Bug 23363: (QA follow-up) Fix indentation Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Nice work! Pushed to master for 19.11.00
Pushed to 19.05.x for 19.05.03
backported to 18.11.x for 18.11.09