Koha-clms/acqui
David Cook aa8be6ae76
Bug 41594: [25.05.x] Disable access to invoice-files.pl if AcqEnableFiles disabled
This patch makes it so that invoice-files.pl returns 404 if
AcqEnableFiles is disabled

Test plan:
0. Apply the patch
1. koha-plack --restart kohadev
2. Go to /cgi-bin/koha/acqui/invoice-files.pl?invoiceid=999
3. Note that you see a 404 page
4. Change "AcqEnableFiles" syspref to "Do"
5. Go to /cgi-bin/koha/acqui/invoice-files.pl?invoiceid=999
6. Note that you now see a "Files for invoice" page

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-04-21 12:02:52 -06:00
..
acqui-home.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
addorder.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
addorderiso2709.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
ajax-getauthvaluedropbox.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
basket.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
basketgroup.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
basketheader.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
booksellers.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
cancelorder.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
check_budget_total.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
check_uniqueness.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
duplicate_orders.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
edifactmsgs.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
edimsg.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
finishreceive.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
histsearch.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
invoice-files.pl Bug 41594: [25.05.x] Disable access to invoice-files.pl if AcqEnableFiles disabled 2026-04-21 12:02:52 -06:00
invoice.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
invoices.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
lateorders-export.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
lateorders.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
moddeliverydate.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
modordernotes.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
neworderempty.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
newordersubscription.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
newordersuggestion.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
ordered.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
orderreceive.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
parcel.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
parcels.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
showorder.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
spent.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
transferorder.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
uncertainprice.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
vendor_issues.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
vendors.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
z3950_search.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00