]> git.koha-community.org Git - koha.git/commit
bug 3222: moved messaging preference editing
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 20 May 2009 16:35:55 +0000 (11:35 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 22 May 2009 18:20:56 +0000 (13:20 -0500)
commitb6e62489d8dc749db077ccb86ea29f4ae7b91fa6
tree5983b2531c284fcf79cdd8853ea31d6208707f55
parent8e5eea5c4e1a8fa500a6912b2d9d9ddff92bad70
bug 3222: moved messaging preference editing

The display and editing of messaging preferences
for a patron have been moved as follows:

* the prefs for a patron are now displayed on the
  patron details tab, not the messaging tab.
* the prefs are now modified by editing the patron
  record, not on the messaging tab.

The messaging tab now contains only the list of
messages that have been or will be sent to the patron.

When creating a new patron record, changing the patron
category via the category dropdown now also changes
the default messaging preferences for that patron.  If
you start editing a new patron, change one of the messaging
preferences, then change the patron category, the form will
ask you if you want to keep the preferences or get
the defaults belonging to the new patron category.

Note that when you edit an existing patron record, changing
the patron category will *not* cause the messaging preferences
to be automatically changed.

Programmer's note: this commit introduces a new web service,
members/default_messagingprefs.pl, that uses Jesse Weaver's
C4::Service module.

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Form/MessagingPreferences.pm
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/members/messaging.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl
members/default_messageprefs.pl [new file with mode: 0755]
members/memberentry.pl
members/messaging.pl
members/moremember.pl