Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv Bug 19928: Acquisitions' CSV exports now honors syspref "delimiter" 2018-02-08 14:52:01 -03:00
tables Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
acqui-home.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
addorder.tt Bug 20038: Switch single-column templates to Bootstrap grid: Acquisitions 2018-02-15 13:30:23 -03:00
addorderiso2709.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
ajax.tt Bug 5917 : Swapping templates over 2011-04-10 20:38:30 +12:00
basket.tt Bug 10032: (follow-up) Move title attribute to button container 2018-02-08 17:01:14 -03:00
basketgroup.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
basketheader.tt Bug 20038: Switch single-column templates to Bootstrap grid: Acquisitions 2018-02-15 13:30:23 -03:00
booksellers.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
cancelorder.tt Bug 20038: Switch single-column templates to Bootstrap grid: Acquisitions 2018-02-15 13:30:23 -03:00
edi_ean.tt Bug 7736: (QA followup) Add missing body id and class 2016-04-04 20:43:01 +00:00
edifactmsgs.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
edimsg.tt Bug 16738 - Improve EDIFACT messages template 2016-09-09 12:54:56 +00:00
histsearch.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
invoice-files.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
invoice.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
invoices.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
lateorders.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
modordernotes.tt Bug 20038: Switch single-column templates to Bootstrap grid: Acquisitions 2018-02-15 13:30:23 -03:00
neworderbiblio.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
neworderempty.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
neworderempty_duplicate.tt Bug 7760: Add unique ids and a module class to all acquisitions pages 2012-03-22 18:11:54 +01:00
newordersubscription.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
newordersuggestion.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
ordered.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
orderreceive.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
parcel.tt Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3 2018-02-15 13:30:23 -03:00
parcels.tt Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3 2018-02-15 13:30:23 -03:00
spent.tt Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3 2018-02-15 13:30:23 -03:00
supplier.tt Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3 2018-02-15 13:30:23 -03:00
transferorder.tt Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3 2018-02-15 13:30:23 -03:00
uncertainprice.tt Bug 19755: Move template JavaScript to the footer: Acquisitions, part 3 2018-02-15 13:30:23 -03:00
z3950_search.tt Bug 20038: Switch single-column templates to Bootstrap grid: Acquisitions 2018-02-15 13:30:23 -03:00