]> git.koha-community.org Git - koha.git/commit
Bug 11371 - Add a new report : Orders by fund with more options
authorBouzid Fergani <bouzid.fergani@inlibro.com>
Thu, 5 Mar 2015 15:56:14 +0000 (10:56 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 12:20:25 +0000 (12:20 +0000)
commit97e36c02648e7de5711f4542c9140e763b4a30e8
tree60710071a010423bc952bee9229630137123148e
parentae40e5e4c68f50ef1c68e8901e46c73e50c31a0a
Bug 11371 - Add a new report : Orders by fund with more options

 Add option show or no inactive budget and more options
 Use subroutine GetBudgetHierarchy for return all budgets
 Delete subroutine GetBudgetPeriodDescription and theire tests
 Use Price TT plugin
 Correct name of column and capitalization the first letter
 Add  checkbox for show inactive budgets, default the drop down list containt a active budget
 Not use [i] for inactive budgets, i add (inactive) at the end of inactive budget
 Add vendor note in the list of show attribute

 Test case:
    Go to Home > Reports > Orders by fund
    Select one or all budgets
    You can show the inactive budget, default the drop down list containt a active budget
    Choose output to screen ou csv file

Works as expected. QA tools OK with Bug 16104 applied.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
- changed 'Fund (budget):' back to 'Fund:', as the budget
  no longer shows in the pull down.
- Fixed number of tests in Budgets.t
- Removed &GetBudgetPeriodDescription

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Budgets.pm
koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/orders_by_budget.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/reports/csv/orders_by_budget.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
reports/orders_by_fund.pl [new file with mode: 0755]
t/db_dependent/Acquisition.t
t/db_dependent/Budgets.t