Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
David Bourgault 8df9ba7ec5 Bug 19466: Warn about conflicting settings of autoMemberNum and BorrowerMandatoryField for cardnumber
Changes the appearance of the cardnumber entry field in memberentrygen.tt
The "Leave empty for autocalc" message has been moved to the hint div
under the input field. If AutoMemberNum and BorrowerMandatoryField
interfere with each other, the auto calc hint is replace by a warning
telling the user that auto calc has been disabled.

Cardnumber should now correctly appear as mandatory if marked as such
in BorrowerMandatoryField.

Test plan:
0] Apply patch
1} Disable AutoMemberNum, remove cardnumber from BorrowerMandatoryField
2) Edit or create a patron, scroll down to cardnumber input field
    Hint is some form of "Cardnumber must be this long"
    Cardnumber input is not marked as required
    There is no mention of auto calc

3> Enable AutoMemberNum
    Hint includes "Leave empty for auto calc" message

4~ Add cardnumber to BorrowerMandatoryField
    Hint warns you that your sysprefs are conflicting.
    Cardnumber input is marked as required

5: Disable AutoMemberNum
    Hint is some form of "Cardnumber must be this long"
    Cardnumber input is marked as required

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-13 13:36:01 -03:00
..
tables Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
boraccount.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
deletemem.tt Bug 17404: Patron deletion page: Fix title and breadcrumb 2016-10-21 15:11:37 +00:00
discharge.tt Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
discharges.tt Bug 18403: Patron discharges 2018-02-12 15:41:41 -03:00
files.tt Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
holdshistory.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
housebound.tt Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
mancredit.tt
maninvoice.tt Bug 17014: Simplify some code 2017-03-31 14:33:52 +00:00
member-flags.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
member-password.tt Bug 18298: (QA followup) Use Koha.Preference on the template 2017-10-16 09:44:33 -03:00
member.tt Bug 18403: Only display libraries from group in dropdown lists 2018-02-12 15:41:38 -03:00
memberentrygen.tt Bug 19466: Warn about conflicting settings of autoMemberNum and BorrowerMandatoryField for cardnumber 2018-02-13 13:36:01 -03:00
members-update.tt Bug 19988: Fixing the case where terminolgy referred to sex instead of gender. 2018-01-19 15:50:32 -03:00
moremember-brief.tt Bug 19129 - Follow-up - Add changes to patron duplicate warning 2017-09-01 13:02:23 -03:00
moremember-print.tt Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
moremember-receipt.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
moremember.tt Bug 18403: Guarantors 2018-02-12 15:41:41 -03:00
nl-search.tt Bug 15304: Remove Norwegian strings from nl-search.tt 2015-12-30 23:39:57 +00:00
notices.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
pay.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
paycollect.tt Bug 11210: Writeoff partial amounts 2017-12-11 14:30:42 -03:00
printfeercpt.tt Bug 18403: Fix few errors found with hit_pages.t 2018-02-12 15:41:43 -03:00
printinvoice.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
purchase-suggestions.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
readingrec.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00
routing-lists.tt Bug 19456: Make patron-title ability to be generated with or without html tags 2017-12-07 09:37:10 -03:00
statistics.tt Bug 18403: Add sub output_and_exit_if_error - unknown_patron & cannot_see_patron_infos 2018-02-12 15:41:38 -03:00
update-child.tt Bug 12904: Force browser to load new javascript files after upgrade 2018-02-08 14:53:24 -03:00