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

(-)a/acqui/booksellers.pl (+6 lines)
Lines 136-141 for my $vendor (@suppliers) { Link Here
136
                $basket->{authorisedby_firstname} = $member->{firstname};
136
                $basket->{authorisedby_firstname} = $member->{firstname};
137
                $basket->{authorisedby_surname} = $member->{surname};
137
                $basket->{authorisedby_surname} = $member->{surname};
138
            }
138
            }
139
            if ($basket->{basketgroupid}) {
140
                my $basketgroup = C4::Acquisition::GetBasketgroup($basket->{basketgroupid});
141
                if ($basketgroup) {
142
                    $basket->{basketgroup} = $basketgroup;
143
                }
144
            }
139
            push @{$loop_basket}, $basket; 
145
            push @{$loop_basket}, $basket; 
140
        }
146
        }
141
    }
147
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt (-1 / +11 lines)
Lines 102-107 $(document).ready(function() { Link Here
102
                                    <th>Items expected</th>
102
                                    <th>Items expected</th>
103
                                    <th>Created by</th>
103
                                    <th>Created by</th>
104
                                    <th>Date</th>
104
                                    <th>Date</th>
105
                                    <th>Basket group</th>
105
                                    <th>Closed</th>
106
                                    <th>Closed</th>
106
                                    <th>&nbsp;</th>
107
                                    <th>&nbsp;</th>
107
                                </tr>
108
                                </tr>
Lines 124-129 $(document).ready(function() { Link Here
124
                                        </td>
125
                                        </td>
125
                                        <td><span title="[% basket.creationdate %]">[% basket.creationdate | $KohaDates %]</span></td>
126
                                        <td><span title="[% basket.creationdate %]">[% basket.creationdate | $KohaDates %]</span></td>
126
                                        <td>
127
                                        <td>
128
                                          [% IF basket.basketgroup %]
129
                                            [% basketgroup = basket.basketgroup %]
130
                                            [% IF basketgroup.closed %]
131
                                              [% basketgroup.name %] (closed)
132
                                            [% ELSE %]
133
                                              <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% basket.booksellerid %]&basketgroupid=[% basketgroup.id %]">[% basketgroup.name %]</a>
134
                                            [% END %]
135
                                          [% END %]
136
                                        </td>
137
                                        <td>
127
                                            [% IF ( basket.closedate ) %]
138
                                            [% IF ( basket.closedate ) %]
128
                                                <span title="[% basket.closedate %]">[% basket.closedate | $KohaDates %]</span>
139
                                                <span title="[% basket.closedate %]">[% basket.closedate | $KohaDates %]</span>
129
                                            [% ELSE %]
140
                                            [% ELSE %]
130
- 

Return to bug 11171