https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23442

--- Comment #26 from Josef Moravec <josef.mora...@gmail.com> ---
Comment on attachment 97011
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=97011
Bug 23442: Add refund option to patron account page

Review of attachment 97011:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=23442&attachment=97011)
-----------------------------------------------------------------

::: koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
@@ +216,5 @@
> +                                    <select name="transaction_type" 
> id="transaction_type">
> +                                            <option value="AC">Account 
> credit</option>
> +                                        [% FOREACH pt IN payment_types %]
> +                                            <option value="[% 
> pt.authorised_value | html %]">[% pt.lib | html %]</option>
> +                                        [% END %]

The condition '[% IF payment_types %]' should be just before 'FOREACH' because
if you don't have any payment type defined you can't use the hardcoded 'AC'
value neither...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to