Bugzilla – Attachment 18351 Details for
Bug 10313
selecting an invoice from the historic orders page does not take you to that invoice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10313 Fix link to invoice from orders
Bug-10313-Fix-link-to-invoice-from-orders.patch (text/plain), 1.95 KB, created by
Jonathan Druart
on 2013-05-23 14:10:10 UTC
(
hide
)
Description:
Bug 10313 Fix link to invoice from orders
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-05-23 14:10:10 UTC
Size:
1.95 KB
patch
obsolete
>From 848d27c356af97827f015c67cceccc40ca1d3512 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Wed, 22 May 2013 19:32:45 +0100 >Subject: [PATCH] Bug 10313 Fix link to invoice from orders > >Need to have invoiceid and pass it to retrieve selected >invoicenumber. Wrong data passed causing incorrect >records to be displayed > >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > C4/Acquisition.pm | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt | 4 ++-- > 2 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm >index 02dfb28..c766753 100644 >--- a/C4/Acquisition.pm >+++ b/C4/Acquisition.pm >@@ -2049,6 +2049,7 @@ sub GetHistory { > aqorders.quantityreceived, > aqorders.ecost, > aqorders.ordernumber, >+ aqorders.invoiceid, > aqinvoices.invoicenumber, > aqbooksellers.id as id, > aqorders.biblionumber >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >index 10ae2ed..4132edb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt >@@ -90,8 +90,8 @@ > > [% END %] > </td> >- <td>[% IF ( suggestions_loo.invoicenumber ) %] >- <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% suggestions_loo.invoicenumber %]">[% suggestions_loo.invoicenumber %]</a> >+ <td>[% IF suggestions_loo.invoicenumber %] >+ <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% suggestions_loo.invoiceid %]">[% suggestions_loo.invoicenumber %]</a> > [% ELSE %] > > [% END %] >-- >1.7.10.4
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 10313
:
18319
|
18349
| 18351