[Koha-bugs] [Bug 11708] Display all basketgroups on one page, and new column aqbasketgroups.closeddate
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 22 11:19:13 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11708
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #71265|0 |1
is obsolete| |
--- Comment #188 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 72074
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72074&action=edit
Bug 11708: New page for basket groups
This patch moves the code responsible for displaying a list of basket
groups into its own Perl script (acqui/basketgroups.pl), making the code
in basketgroup.pl and basketgroup.tt a little bit easier to read.
basketgroups.pl displays all basket groups in a single table (as bug
13371 for vendors) where rows are grouped by bookseller.
In the process, this patch adds 4 new "Koha::Object" modules:
- Koha::Bookseller(s)
- Koha::Basket(s)
- Koha::Basketgroup(s)
- Koha::Order(s)
It also adds a wrapper around the new DataTable() constructor to be able
to use it with the same defaults than the previous dataTable()
constructor
Test plan:
0. Create a bunch of booksellers and basketgroups
1. Go back to acquisitions home page and click on "Basket groups" link
on the left
2. Play with the table (sort, filter) and try every possible actions
(Edit, Close and export as PDF, View, Reopen, Export as CSV)
3. Go to a specific vendor page and click on "Basket groups" tab
4. Check that only the vendor's basket groups are displayed
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list