Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Jonathan Druart 0ab22e1c7c Bug 18789: Send Koha::Patron object to the templates
In order to simplify and make uniform the code, the controller scripts send
a Koha::Patron object to the templates instead of all attributes of a patron.

That will make the code much more easier to maintain and will be less
error-prone.

The variable "patron" sent to the templates is supposed to represent the
patron the librarian is editing the detail.

In the members module and some scripts of the circulation module, the
patron's detail are sent one by one to the template. That leads to
frustration from developpers (making sure everything is passed from all
scripts) and to regression (we got tone of bugs in the last year because
of this way to do).
With this patch set it will be easy access patron's detail, passing only
1 variable from the controllers.

Test plan:
Play with the patron and circulation module and make sur the detail of
the patron you are editing/seeing info are correctly displayed.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-16 13:03:58 -03:00
..
article-requests.tt Bug 20034: Switch single-column templates to Bootstrap grid: Circulation 2018-02-15 13:30:23 -03:00
bookcount.tt Bug 19700: Move template JavaScript to the footer: Some circulation pages 2017-12-11 11:34:23 -03:00
branchoverdues.tt Bug 10021: Remove notify columns in circ/branchoverdues.tt 2017-12-11 11:34:19 -03:00
branchtransfers.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
circulation-home.tt Bug 20034: Switch single-column templates to Bootstrap grid: Circulation 2018-02-15 13:30:23 -03:00
circulation.tt Bug 20221: Fix for JavaScript error during checkout patron search 2018-02-16 13:00:57 -03:00
circulation_batch_checkouts.tt Bug 18403: output_and_exit_if_error for circulation.pl 2018-02-12 15:41:39 -03:00
offline-mf.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
offline.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
on-site_checkouts.tt Bug 12904: Add KOHA_VERSION to few more .css 2018-02-16 13:01:19 -03:00
overdue.tt Bug 18403: Only display libraries from group in dropdown lists 2018-02-12 15:41:38 -03:00
pendingreserves.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
printslip.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
renew.tt Bug 19444: (QA follow-up) Remove repeating condition 2017-12-18 12:16:27 -03:00
request-article.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
reserveratios.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
returns.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
selectbranchprinter.tt Bug 16530: Adding a circ sidebar navigation menu and circSidebar syspref to activate/deactivate 2017-03-03 18:34:36 +00:00
transfer-slip.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
transferstoreceive.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
view_holdsqueue.tt Bug 18403: Use patron-title.inc when hidepatronname is used [SPECIFIC for view_holdsqueue] 2018-02-12 15:41:39 -03:00
waitingreserves.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00