[Koha-bugs] [Bug 9438] Biblio notes displayed when ordering

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 5 19:24:56 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9438

--- Comment #12 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Perhaps I'm wrong, but I found the following behavior:

1) Follow test plan after patch applied
2) In a new basket the Notes field in Accounting Details is empty 
(was the place filled with 300a/500a), patch is working!
3) Add a note and save 
4) When viewing the basket, press Modify order... and the Notes is empty!!
(the data is saved, in doubt do "select notes from aqorders")

That was the meaning of my previous comment.
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt
is used to add AND modify a order in a basket. If you remove [% notes %] from
it then will never see your Accounting Details Notes again.

I got the expected behavior using:
in .../neworderempty.tt
[% IF ( notes ) %][% notes %][% END %]

and in .../neworderempty.pl
$template->param ( notes => $data->{'notes'} ) unless ( $ordernumber eq '' );


Regards

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list