Koha/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
..
boraccount.pl
default_messageprefs.pl
deletemem.pl
discharge.pl Bug 15353: Display the patron image where needed 2016-01-27 17:00:03 +00:00
discharges.pl
files.pl
guarantor_search.pl
mancredit.pl
maninvoice.pl
member-flags.pl
member-password.pl
member.pl
memberentry.pl Bug 15631: Koha::Cities - remove getidcity and GetCities 2016-02-24 03:53:52 +00:00
members-home.pl Bug 15629 [QA Followup] 2016-02-24 03:55:07 +00:00
members-update-do.pl
members-update.pl
mod_debarment.pl
moremember.pl Bug 15629: Koha::Libraries - Remove GetBranchDetail 2016-02-24 03:55:06 +00:00
nl-search.pl
notices.pl Bug 12426: Allow resend for sent messages 2016-03-03 20:16:07 +00:00
patronimage.pl
pay.pl Bug 15746: Same fix for "write off" 2016-02-23 21:15:21 +00:00
paycollect.pl Bug 15746: Do not record individual payments with randomly picked libraries 2016-02-23 21:15:21 +00:00
print_overdues.pl
printfeercpt.pl 15622 - Spelling mistake in printfeercpt.pl writen -> written Search the file for writen, when not found change sucsessful 2016-02-24 03:02:24 +00:00
printinvoice.pl
printslip.pl
purchase-suggestions.pl
readingrec.pl Bug 15096: Export today's checked in barcodes: Display warning if reading history is set to "never" 2016-01-27 06:02:43 +00:00
routing-lists.pl
setstatus.pl
statistics.pl
summary-print.pl
update-child.pl