View | Details | Raw Unified | Return to bug 11988
Collapse All | Expand All

(-)a/acqui/lateorders.pl (-2 / +4 lines)
Lines 158-165 if ($estimateddeliverydateto_dt) { Link Here
158
my @lateorders = GetLateOrders( @parameters );
158
my @lateorders = GetLateOrders( @parameters );
159
159
160
my $total;
160
my $total;
161
foreach (@lateorders){
161
for my $order ( @lateorders ) {
162
	$total += $_->{subtotal};
162
    $total += $order->{subtotal};
163
    $order->{basketgroup} = GetBasketgroup( $order->{basketgroupid} )
164
        if $order->{basketgroupid};
163
}
165
}
164
166
165
my $letters = GetLetters({ module => "claimacquisition" });
167
my $letters = GetLetters({ module => "claimacquisition" });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-2 / +4 lines)
Lines 175-181 $(document).ready(function() { Link Here
175
                    [% IF ( CAN_user_acquisition_group_manage ) %]
175
                    [% IF ( CAN_user_acquisition_group_manage ) %]
176
                        <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a>
176
                        <a href="basketgroup.pl?op=add&booksellerid=[% lateorder.supplierid %]&basketgroupid=[% lateorder.basketgroupid %]" title="basketgroup">[% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a>
177
                    [% ELSE %]
177
                    [% ELSE %]
178
                        [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])</a>
178
                        [% lateorder.basketgroupname %] ([% lateorder.basketgroupid %])
179
                    [% END %]
180
                    [% IF lateorder.basketgroup.closeddate %]
181
                        closed on [% lateorder.basketgroup.closeddate | $KohaDates %]
179
                    [% END %]
182
                    [% END %]
180
                [% END %]
183
                [% END %]
181
            </td>
184
            </td>
182
- 

Return to bug 11988