Bugzilla – Attachment 7304 Details for
Bug 7005
no confirmation for write off all
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Writeoff all now has a confirmation dialog.
0016-Bug-7005-Writeoff-all-now-has-a-confirmation-dialog.patch (text/plain), 1.71 KB, created by
Aleksa Vujicic
on 2012-01-24 00:31:51 UTC
(
hide
)
Description:
Writeoff all now has a confirmation dialog.
Filename:
MIME Type:
Creator:
Aleksa Vujicic
Created:
2012-01-24 00:31:51 UTC
Size:
1.71 KB
patch
obsolete
>From 69253e713be5f8ce9ca3f8396bf09ba77ed83c2b Mon Sep 17 00:00:00 2001 >From: Aleksa Vujicic <aleksa@catalyst.net.nz> >Date: Thu, 19 Jan 2012 15:01:19 +1300 >Subject: [PATCH 16/20] Bug 7005: Writeoff all now has a confirmation dialog. > >--- > .../intranet-tmpl/prog/en/modules/members/pay.tt | 12 ++++++++++-- > 1 files changed, 10 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >index 12568e4..127a2ef 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -6,6 +6,14 @@ > [% INCLUDE 'header.inc' %] > [% INCLUDE 'patron-search.inc' %] > >+<script type=text/javascript> >+ >+function confirmWriteoffAll() { >+ return confirm("Are you sure you want to writeoff all fines?"); >+} >+ >+</script> >+ > <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> › Pay Fines for [% borrower.firstname %] [% borrower.surname %]</div> > > <div id="doc3" class="yui-t2"> >@@ -88,8 +96,8 @@ > </table> > <fieldset class="action"> > <input type="submit" name="paycollect" value="Pay Amount" class="submit" /> >-<input type="submit" name="woall" value="Writeoff All" class="submit" /> >-<input type="submit" name="payselected" value="Pay Selected" class="submit" /> >+<input type="submit" name="woall" value="Writeoff All" class="submit" onclick="return confirmWriteoffAll()" /> >+<input type="submit" name="payselected" value="Pay Selected" class="submit"/> > <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrower.borrowernumber %]">Cancel</a> > </fieldset> > </form> >-- >1.7.5.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7005
:
7304
|
7322