Lines 45-59
my $branchcode = C4::Context->userenv->{'branch'};
Link Here
|
45 |
# transfers prompted by stockrotation |
45 |
# transfers prompted by stockrotation |
46 |
my @transfers = Koha::Libraries->search( |
46 |
my @transfers = Koha::Libraries->search( |
47 |
{ |
47 |
{ |
48 |
'branchtransfers_frombranches.frombranch' => $branchcode, |
48 |
'branchtransfers_tobranches.frombranch' => $branchcode, |
49 |
'branchtransfers_frombranches.datesent' => { '!=' => undef }, |
49 |
'branchtransfers_tobranches.datesent' => { '!=' => undef }, |
50 |
'branchtransfers_frombranches.datearrived' => undef, |
50 |
'branchtransfers_tobranches.datearrived' => undef, |
51 |
'branchtransfers_frombranches.comments' => |
51 |
'branchtransfers_tobranches.comments' => |
52 |
[ "StockrotationAdvance", "StockrotationRepatriation" ] |
52 |
[ "StockrotationAdvance", "StockrotationRepatriation" ] |
53 |
}, |
53 |
}, |
54 |
{ |
54 |
{ |
55 |
prefetch => 'branchtransfers_frombranches', |
55 |
prefetch => 'branchtransfers_tobranches', |
56 |
order_by => 'branchtransfers_frombranches.frombranch' |
56 |
order_by => 'branchtransfers_tobranches.tobranch' |
57 |
} |
57 |
} |
58 |
); |
58 |
); |
59 |
|
59 |
|
60 |
- |
|
|