BZ6412 : spaces in note

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@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Paul Poulain 2011-07-18 18:06:00 -04:00 committed by Chris Cormack
parent 3195d20440
commit 83f6083f36
1 changed files with 3 additions and 3 deletions

View File

@ -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>