Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 15752: Automatically switch to patron when cardnumber is read during circulation 2018-02-12 17:38:57 -03:00
searchengine/elasticsearch Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
admin-home.tt Bug 16735: Migrate library search groups into the new hierarchical groups 2018-02-12 15:41:25 -03:00
aqbudgetperiods.tt Bug 12904: Add KOHA_VERSION to few more .css 2018-02-16 13:01:19 -03:00
aqbudgets.tt Bug 18789: Send Koha::Patron object to the templates 2018-02-16 13:03:58 -03:00
aqcontract.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
aqplan.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
audio_alerts.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
auth_subfields_structure.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
auth_tag_structure.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
authorised_values.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
authtypes.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
biblio_framework.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
branch_transfer_limits.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
branches.tt Bug 20190: Replace intranet-tmpl with [% interface %] 2018-02-13 12:57:46 -03:00
categories.tt Bug 19641: Move patron templates to the footer 2018-02-15 13:30:23 -03:00
checkmarc.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
cities.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
classsources.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
clone-rules.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
columns_settings.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
currency.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
didyoumean.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
edi_accounts.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
edi_ean_accounts.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
fieldmapping.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
item_circulation_alerts.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
items_search_field.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
items_search_fields.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
itemtypes.tt Bug 20216: Correctly populate values in itemtype editor 2018-02-15 16:02:47 -03:00
koha2marclinks.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
library_groups.tt Bug 12904: Add KOHA_VERSION to few more .css 2018-02-16 13:01:19 -03:00
localization.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
marc_subfields_structure.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
marctagstructure.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
matching-rules.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
oai_set_mappings.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
oai_sets.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
patron-attr-types.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
preferences.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
printers.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
smart-rules.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
sms_providers.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
sru_modmapping.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
systempreferences.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
transport-cost-matrix.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
usage_statistics.tt Bug 12904: Add KOHA_VERSION to few more .css 2018-02-16 13:01:19 -03:00
z3950servers.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00