[Koha-patches] [PATCH] [SIGNED-OFF] BZ6412 : spaces in note
Nicole C. Engard
nengard at bywatersolutions.com
Tue Jul 19 00:06:00 CEST 2011
From: Paul Poulain <paul.poulain at biblibre.com>
There was an improper T::T <input> construction: the note value contained spaces.
This patch fixes the problem by using a correct [% IF %] construction
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
.../intranet-tmpl/prog/en/modules/members/pay.tt | 6 +++---
1 files changed, 3 insertions(+), 3 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 4f04ba7..ddc3d41 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt
@@ -64,10 +64,10 @@
<td>[% loop_pa.description %] [% loop_pa.title |html %]</td>
<td>
[% IF ( loop_pa.net_balance ) %]
- <input type="text" name="note[% loop_pa.i %]" value="
+ <input type="text" name="note[% loop_pa.i %]" value="[% loop_pa.note %]" />
+ [% ELSE %]
+ [% loop_pa.note %]
[% END %]
- [% loop_pa.note %]
- [% IF ( loop_pa.net_balance ) %]" />[% END %]
</td>
<td>[% loop_pa.accounttype %]</td>
<td>[% loop_pa.notify_id %]</td>
--
1.7.2.3
More information about the Koha-patches
mailing list