Bug 16594: Orders by fund report has wrong link to css and other issues
authorHector Castro <hector.hecaxmmx@gmail.com>
Thu, 26 May 2016 14:41:08 +0000 (08:41 -0600)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 24 Jun 2016 05:30:10 +0000 (07:30 +0200)
commitf9bb33c1cb4cb3d42a536c90a0ac2d3a2076be1f
tree4feca05781640ffbb49ddddeeb8a01d7c295f7c0
parent8ebe3a0a42b8b63a3ef8b1486a30cd3b335d12b9
Bug 16594: Orders by fund report has wrong link to css and other issues

Orders by fund has wrong link to css and other issues
-> The example in the wiki is wrong: <https://wiki.koha-community.org/wiki/DataTables_HowTo>
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
  [% INCLUDE 'datatables.inc' %]
-> Must be:
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
-> Missing <th></th> in <tfoot> tag
-> Wrong word used "Date deceived" should be "Date received"

NOTE: Wiki needs to be updated

To test:
-Look the code and notice about if else cluase without curly brackets
-Go to Reports > Orders by fund
-Play with: in filters 'All fund' Output: 'to screen into the browser'
-You will see a DataTable displayed in screen clutter
-Notice about 'Date deceived' and the foot of table
-Apply patch
-Refresh or execute again the report

Signed-off-by: Sinziana <s.paltineanu@berlin.bard.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d4394d88eaeff5df6bf0a28ec3e6faed853b202b)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/orders_by_budget.tt