It should not be possible to create baskets for inactive suppliers. "New basket" buttons in acqui/booksellers.pl page are already hidden, but it remains the "New basket" link in acqui/supplier.pl
Created attachment 11747 [details] [review] Bug 8666: Hide 'New basket' link if supplier is inactive In acqui/supplier.pl, if supplier is inactive, 'Manage orders' menu shouldn't contain 'New basket' entry.
Test with sandbox (salers). It works if there's baskets already done with the supplier inactivated. But in case no basket have ever done with this supplier, there is a button "+ new basket" (see "Librairie Bedule" for example"
Created attachment 11824 [details] [review] Bug 8666: Hide 'New basket' link if supplier is inactive
Good catch Koha Team Lyon 3, thanks! This patch fix both the menu entry and the button.
Everything is Ok for me !
QA comment: If a vendor is inactive, we hide all the "new basket" links. Marked as Passed QA.
PAtch pushed. It's more a minor bugfix than an ENH. (Lyon 3 team signoff added when pushing, see comment 5)
Pushed to 3.8.x, will be in 3.8.5
Ok in master and 3.8.x. Marked as RESOLVED.