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> Signed-off-by: Galen Charlton <gmc@esilibrary.com> (cherry picked from commit3f4d313092) Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> There's a small POD error, I'll try to provide a followup for it. (cherry picked from commited34661870) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> (cherry picked from commited34661870)
This commit is contained in:
parent
47349148c7
commit
0debaa73cd
|
|
@ -1952,6 +1952,7 @@ sub GetHistory {
|
|||
aqorders.quantityreceived,
|
||||
aqorders.ecost,
|
||||
aqorders.ordernumber,
|
||||
aqorders.invoiceid,
|
||||
aqinvoices.invoicenumber,
|
||||
aqbooksellers.id as id,
|
||||
aqorders.biblionumber
|
||||
|
|
|
|||
|
|
@ -87,8 +87,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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue