Bug 12505 - Variable aqorders.listprice in acq claim notice doesn't work
commit819dc6d3d743c49e0e64e07728fd5f88903a3b11
authorsimith <simith@inlibro.com>
Wed, 20 Aug 2014 19:33:15 +0000 (20 15:33 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 20 Nov 2014 00:43:29 +0000 (19 21:43 -0300)
treede657c8e3f07886749cbdc729c30ec461d8a04ae
parent268fc21685eff0d076f1aa300569ebc95f4c8d64
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@cineca.it>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described. It's now possible to output the actual price
in the claim notice.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Letters.pm