Bugzilla – Attachment 29382 Details for
Bug 12505
Make variable aqorders.listprice in acq claim notice work and improve error handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12505 - Variable aqorders.listprice from 'Tools' - 'Notices and Slips' Does not work
Bug-12505---Variable-aqorderslistprice-from-Tools-.patch (text/plain), 1.66 KB, created by
simith.doliveira
on 2014-06-30 18:17:43 UTC
(
hide
)
Description:
Bug 12505 - Variable aqorders.listprice from 'Tools' - 'Notices and Slips' Does not work
Filename:
MIME Type:
Creator:
simith.doliveira
Created:
2014-06-30 18:17:43 UTC
Size:
1.66 KB
patch
obsolete
>From 9d165aca84a20b4ce074aca7abfda2648ac4b3ce Mon Sep 17 00:00:00 2001 >From: simith <simith@inlibro.com> >Date: Mon, 30 Jun 2014 14:11:35 -0400 >Subject: [PATCH] Bug 12505 - Variable aqorders.listprice from 'Tools' - > 'Notices and Slips' Does not 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>>. >--- > C4/Letters.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 1d916e0..3927ad6 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -299,7 +299,7 @@ sub SendAlerts { > # search the biblionumber > my $strsth = $type eq 'claimacquisition' > ? qq{ >- SELECT aqorders.*,aqbasket.*,biblio.*,biblioitems.*,aqbooksellers.*, >+ SELECT aqorders.*,aqbasket.*,biblio.*,biblioitems.*, > aqbooksellers.id AS booksellerid > FROM aqorders > LEFT JOIN aqbasket ON aqbasket.basketno=aqorders.basketno >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12505
:
29382
|
31034
|
33527
|
33562
|
33602
|
33603