Bugzilla – Attachment 3603 Details for
Bug 3498
Allow partial fine payments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Template corrections on paycollect.pl
0001-Template-corrections-on-paycollect.pl.patch (text/plain), 3.72 KB, created by
Frédérick Capovilla
on 2011-04-01 14:53:59 UTC
(
hide
)
Description:
Template corrections on paycollect.pl
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-04-01 14:53:59 UTC
Size:
3.72 KB
patch
obsolete
>From afb8cb3f035081d0ef38570be10e5ff7a6f331f8 Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= <frederick.capovilla@sys-tech.net> >Date: Fri, 1 Apr 2011 10:45:24 -0400 >Subject: [PATCH] Template corrections on paycollect.pl > >- Colspans were added to the row so the tables doesn't look broken. >- Error messages were moved in a div out of the table. >--- > .../prog/en/modules/members/paycollect.tmpl | 34 ++++++++++++------- > 1 files changed, 21 insertions(+), 13 deletions(-) > mode change 100644 => 100755 members/paycollect.pl > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl >index 3bf9891..ac3397e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl >@@ -77,6 +77,12 @@ function moneyFormat(textObj) { > </ul> > <div class="tabs-container"> > >+<!-- TMPL_IF NAME="error" --> >+ <div id="error_message" class="dialog alert"> >+ <!-- TMPL_VAR NAME="error" --> >+ </div> >+<!-- /TMPL_IF --> >+ > <!--<form action="/cgi-bin/koha/members/paycollect.pl" method="post"> --> > <!-- TMPL_IF NAME="pay_individual" --> > <form name="payindivfine" onsubmit="return validatePayment(this);" method="post" action="/cgi-bin/koha/members/paycollect.pl"> >@@ -114,18 +120,23 @@ function moneyFormat(textObj) { > <td> > <!-- TMPL_VAR NAME="amountoutstanding" --> > </td> >+<td colspan="4"></td> >+ >+ >+ > </tr> >-<tr><td> </td></tr> >+<tr><td colspan="6"> </td></tr> > <tr> > <td>Collect From Patron: </td> > <td> > <!-- default to paying all --> > <input name="paid" id="paid" value="<!-- TMPL_VAR NAME="amountoutstanding" -->" onchange="moneyFormat(document.payindivfine.paid)"/> > </td> >+<td colspan="4"></td> > </tr> >-<tr><td> </td></tr> >+<tr><td colspan="6"> </td></tr> > <tr> >-<td rowspan="2"> >+<td colspan="6"> > <input type="submit" name="submitbutton" value="Confirm" /> > <a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a> > </td> >@@ -163,11 +174,11 @@ function moneyFormat(textObj) { > <td class="debit"><!-- TMPL_VAR name="amount" --></td> > <td class="debit"><!-- TMPL_VAR name="amountoutstanding" --></td> > </tr> >-<tr><td> </td></tr> >-<tr><td rowspan="2"><strong>Writeoff This Charge?</strong></td></tr> >-<tr><td> </td></tr> >+<tr><td colspan="6"> </td></tr> >+<tr><td colspan="6"><strong>Writeoff This Charge?</strong></td></tr> >+<tr><td colspan="6"> </td></tr> > <tr> >-<td rowspan="2"> >+<td colspan="6"> > <input type="submit" name="confirm_writeoff" id="confirm_writeoff" value="Confirm" /> > <a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a> > </td> >@@ -182,16 +193,13 @@ function moneyFormat(textObj) { > <input type="hidden" name="total" id="total" value="<!-- TMPL_VAR name="total" -->" /> > > <table> >-<!-- TMPL_IF NAME="error" --> >-<tr><td><!-- TMPL_VAR NAME="error" --></td></tr> >-<!-- /TMPL_IF --> > <tr> > <td>Total Amount Outstanding : </td> > <td> > <!-- TMPL_VAR NAME="total" --> > </td> > </tr> >-<tr><td> </td></tr> >+<tr><td colspan="2"> </td></tr> > <tr> > <td>Collect From Patron: </td> > <td> >@@ -199,9 +207,9 @@ function moneyFormat(textObj) { > <input name="paid" id="paid" value="<!-- TMPL_VAR NAME="total" -->" onchange="moneyFormat(document.payfine.paid)"/> > </td> > </tr> >-<tr><td> </td></tr> >+<tr><td colspan="2"> </td></tr> > <tr> >-<td rowspan="2"> >+<td colspan="2"> > <input type="submit" name="submitbutton" value="Confirm" /> > <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a> > </td> >diff --git a/members/paycollect.pl b/members/paycollect.pl >old mode 100644 >new mode 100755 >-- >1.5.6.5 >
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 3498
:
1365
|
1366
|
1367
|
1368
|
3359
|
3603
|
3624
|
3715
|
4902
|
5360
|
5361
|
5362
|
5363
|
5383
|
5406