Bugzilla – Attachment 18319 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]
Proposed patch
0001-Bug-10313-Fix-link-to-invoice-from-orders.patch (text/plain), 1.83 KB, created by
Colin Campbell
on 2013-05-22 18:46:43 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2013-05-22 18:46:43 UTC
Size:
1.83 KB
patch
obsolete
>From c228473884e693af45a45db690d73a64a8dca7f7 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 >--- > 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 a570a73..d2147a2 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.8.3.rc2 >
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