[Koha-bugs] [Bug 12505] Make variable aqorders.listprice in acq claim notice work and improve error handling

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 16 11:30:56 CET 2014


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

--- Comment #16 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 33603
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33603&action=edit
[PASSED QA] Bug 12505 - Variable aqorders.listprice in acq claim notice doesn't
work

Modified:

C4/Letters.pm               - remove aqbooksellers.* from SELECT statement

In Letters - SendAlerts subrotine, is safe to remove aqbooksellers.* from
SELECT statement
for type=claimacquisition or claimissues. Aqbooksellers is passed to
GetPreparedLetter subrotine in tables variable.

Testing:

I Apply the patch

Select Tools -> Notices and slips;
Edit ACQCLAIM;
Add :
<order>Ordernumber <<aqorders.ordernumber>> (<<biblio.title>>)
(<<aqorders.quantity>> ordered) ($<<aqorders.listprice>> 
<<aqbooksellers.listprice>> each) has not been received.</order>
Save modifications;
Create a vendor (Acquisition module);
Create an order (Acquisition module);
Click Acquisitions -> Late orders;
Select the order created;
Click Claim order button;
Valide <<aqorders.listprice>>;
Valide <<aqbooksellers.listprice>>.

Signed-off-by: Paola Rossi <paola.rossi at cineca.it>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Works as described. It's now possible to output the actual price
in the claim notice.

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


More information about the Koha-bugs mailing list