@@ -, +, @@ shipment cost invoice link --- acqui/spent.pl | 5 +++-- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) --- a/acqui/spent.pl +++ a/acqui/spent.pl @@ -119,7 +119,7 @@ while ( my $data = $sth->fetchrow_hashref ) { my $total = $subtotal; $query = qq{ - SELECT invoicenumber, shipmentcost + SELECT invoiceid, invoicenumber, shipmentcost FROM aqinvoices WHERE shipmentcost_budgetid = ? }; @@ -129,7 +129,8 @@ my @shipmentcosts; while (my $data = $sth->fetchrow_hashref) { push @shipmentcosts, { shipmentcost => sprintf("%.2f", $data->{shipmentcost}), - invoicenumber => $data->{invoicenumber} + invoiceid => $data->{invoiceid}, + invoicenumber => $data->{invoicenumber} }; $total += $data->{shipmentcost}; } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt @@ -88,7 +88,7 @@ Shipping cost for invoice - + [% shipmentcost.invoicenumber | html %] --