Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Lari Taskula fbb7097b1d Bug 12426: Allow resend for sent messages
This patch allows to resend both sent and failed messages.

With messages in 'sent' status, we have to be careful not to accidentally send
sent messages again. With the previous patch using GET request, this was likely
to happen because of browser storing the GET parameters.

This patch changes request method from GET to POST. Instead of a simple link,
we now have a form element.

In notices.pl we redirect back to notices.pl, because with POST there is a risk
of resending the message accidentally by form resubmission at refresh.

To test, find/create a Patron that has sent or failed notices in message_queue:
1. Enable EnchancedMessagingPreferences system preference
2. Go to Patrons -> Notices
3. In the Notice column, click the title of the sent or failed message
4. Observe that there is nothing for resending the sent or failed message
5. Apply the patches.
6. Reload Notices page and repeat step 3
7. Observe that there is now a link "Resend" in the Status-column
8. Click Resend
9. Observe that the message gets into 'pending' status

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-03 20:16:07 +00:00
..
tables Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
boraccount.tt Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
deletemem.tt Bug 11401: Add support for Norwegian national library card 2014-11-14 09:42:23 -03:00
discharge.tt Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
discharges.tt Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.tt Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
mancredit.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
maninvoice.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
member-flags.tt Bug 13632: Use an include file to display permissions 2015-10-19 09:38:04 -03:00
member-password.tt Bug 14509: (follow-up) Reject invalid passwords 2015-09-28 11:51:09 -03:00
member.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
memberentrygen.tt Bug 15692 - Move some patron entry form JavaScript into members.js 2016-02-24 02:01:20 +00:00
members-update.tt Bug 15195 - patron details should open in tab 2016-01-27 04:21:58 +00:00
moremember-brief.tt Bug 14990: Format the date template-side for moremember 2015-10-19 10:13:02 -03:00
moremember-print.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
moremember-receipt.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
moremember.tt Bug 13302 [Revised] Use CSS3 ellipsis for email address in staff client patron sidebar 2016-03-02 04:58:23 +00:00
nl-search.tt Bug 15304: Remove Norwegian strings from nl-search.tt 2015-12-30 23:39:57 +00:00
notices.tt Bug 12426: Allow resend for sent messages 2016-03-03 20:16:07 +00:00
pay.tt Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
paycollect.tt Bug 4041: Third step - Display address on patron's pages using the system preference 2015-04-29 11:25:11 -03:00
printfeercpt.tt Bug 14926: Format the date according to the dateformat syspref 2015-10-19 09:58:17 -03:00
printinvoice.tt Bug 12415: Fee receipt: a charges description should be displayed in all cases 2014-11-21 20:14:02 -03:00
purchase-suggestions.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
readingrec.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
routing-lists.tt Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
statistics.tt Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
update-child.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00