my $subtotal_for_funds;
for my $order ( @orders ) {
$order->{'unitprice'} += 0;
+ $order->{'booksellerid'} = $booksellerid; # required for basket group links
my $order_object = Koha::Acquisition::Orders->find($order->{ordernumber});
if ( $bookseller->invoiceincgst ) {
<td class="basketfilterclass">[% loop_order.basketname | html %] (<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% loop_order.basketno | uri %]">[% loop_order.basketno | html %]</a>)</td>
<td>
[% IF loop_order.basketgroupid %]
- [% loop_order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% loop_order.booksellerid | uri %]">[% loop_order.basketgroupid | html %]</a>)
+ [% loop_order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% loop_order.booksellerid | uri %]&basketgroupid=[% loop_order.basketgroupid | uri %]">[% loop_order.basketgroupid | html %]</a>)
[% ELSE %]
No basket group
[% END %]
<td>[% order.basketname | html %] (<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno | uri %]">[% order.basketno | html %]</a>)</td>
<td>
[% IF order.basketgroupid %]
- [% order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% order.booksellerid | uri %]">[% order.basketgroupid | html %]</a>)
+ [% order.basketgroupname | html %] (<a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.booksellerid | uri %]&basketgroupid=[% loop_order.basketgroupid | html %]">[% order.basketgroupid | html %]</a>)
[% ELSE %]
No basket group
[% END %]