line | % | coverage | branch |
145 | 0 | T | F | if $resdate |
146 | 0 | T | F | unless $resdate |
147 | 0 | T | F | if ($expdate) { } |
152 | 0 | T | F | if ('C4::Context'->preference('AllowHoldDateInFuture')) |
159 | 0 | T | F | if ($found eq 'W') |
165 | 0 | T | F | if ($fee > 0) |
195 | 0 | T | F | if ('C4::Context'->preference('emailLibrarianWhenHoldIsPlaced')) |
224 | 0 | T | F | unless $const eq 'o' or $const eq 'e' |
249 | 0 | T | F | unless my($biblionumber) = shift @_ |
269 | 0 | T | F | unless ($all_dates) |
280 | 0 | T | F | if ($$data{'constrainttype'} eq 'o') |
299 | 0 | T | F | if ($count > 1) { } |
335 | 0 | T | F | unless ($all_dates) |
356 | 0 | T | F | if ($status) { } |
390 | 0 | T | F | if (@hostitems) |
395 | 0 | T | F | if CanItemBeReserved($borrowernumber, $item) |
415 | 0 | T | F | 'C4::Context'->preference('item-level_itypes') ? : |
448 | 0 | T | F | if ($controlbranch eq 'ItemHomeLibrary') { } |
| 0 | T | F | elsif ($controlbranch eq 'PatronLibrary') { } |
458 | 0 | T | F | if (my $rights = $sth->fetchrow_hashref) { } |
469 | 0 | T | F | if $itemtype ne '*' |
472 | 0 | T | F | if ($itemtype eq '*') { } |
479 | 0 | T | F | if (my $rowcount = $sthcount->fetchrow_hashref) |
484 | 0 | T | F | if ($reservecount < $allowedreserves) { } |
528 | 0 | T | F | if ($checkreserves) |
530 | 0 | T | F | if ($$iteminfo{'holdingbranch'} ne $$checkreserves{'branchcode'}) { } |
591 | 0 | T | F | if ($fee > 0) |
602 | 0 | T | F | if ($const eq 'a') { } |
609 | 0 | T | F | if (@$bibitems->{'biblioitemnumber'} == $$data{'biblioitemnumber'}) |
616 | 0 | T | F | if ($const eq 'o') { } |
617 | 0 | T | F | if ($found == 1) |
622 | 0 | T | F | if ($found == 0) |
646 | 0 | T | F | if (my $isdata = $sth3->fetchrow_hashref) { } |
654 | 0 | T | F | if ($allissued == 0) |
658 | 0 | T | F | if (my $rdata = $rsth->fetchrow_hashref) { } |
708 | 0 | T | F | if ($frombranch) |
713 | 0 | T | F | if ($frombranch) { } |
772 | 0 | T | F | if ('C4::Context'->preference('item-level_itypes')) { } |
797 | 0 | T | F | if ($item) { } |
808 | 0 | T | F | unless $itemnumber |
812 | 0 | T | F | if $notforloan_per_item > 0 or $notforloan_per_itemtype |
822 | 0 | T | F | if (scalar @reserves) |
825 | 0 | T | F | if ($$res{'itemnumber'} == $itemnumber and $$res{'priority'} == 0) { } |
829 | 0 | T | F | if ($$res{'priority'} and $$res{'priority'} < $priority) |
834 | 0 | T | F | if $$branchitemrule{'holdallowed'} == 0 |
835 | 0 | T | F | if $$branchitemrule{'holdallowed'} == 1 and $branch ne $$borrowerinfo{'branchcode'} |
845 | 0 | T | F | if ($highest) |
897 | 0 | T | F | if ($item and $borr) { } |
1012 | 0 | T | F | if $rank eq 'W' |
1013 | 0 | T | F | if $rank eq 'n' |
1015 | 0 | T | F | if ($rank eq 'del') { } |
| 0 | T | F | elsif ($rank =~ /^\d+/ and $rank > 0) { } |
1119 | 0 | T | F | unless ($priority == 0) |
1150 | 0 | T | F | if ('C4::Context'->preference('ReturnToShelvingCart') and $newstatus) |
1183 | 0 | T | F | $request && $$request{'found'} eq 'W' ? : |
1187 | 0 | T | F | if ($transferToDo) { } |
1211 | 0 | T | F | if not $transferToDo and not $already_on_shelf |
1213 | 0 | T | F | if ('C4::Context'->preference('ReturnToShelvingCart')) |
1360 | 0 | T | F | if ('C4::Context'->preference('item-level_itypes')) { } |
1375 | 0 | T | F | if (my($notforloan) = $sth->fetchrow_array) |
1376 | 0 | T | F | if $notforloan |
1380 | 0 | T | F | if $$item{'itemlost'} or $$item{'notforloan'} > 0 or $$item{'damaged'} and not 'C4::Context'->preference('AllowHoldsOnDamagedItems') or $$item{'wthdrawn'} or $notforloan_per_itemtype |
1387 | 0 | T | F | if ('C4::Context'->preference('AllowOnShelfHolds')) { } |
1414 | 0 | T | F | if ($where eq 'up' or $where eq 'down') { } |
| 0 | T | F | elsif ($where eq 'top') { } |
| 0 | T | F | elsif ($where eq 'bottom') { } |
1417 | 0 | T | F | $where eq 'up' ? : |
1474 | 0 | T | F | if ($rank eq 'del') |
1477 | 0 | T | F | if ($rank eq 'W' or $rank eq '0') |
1516 | 0 | T | F | if ($borrowernumber == $priority[$i]{'borrowernumber'}) |
1523 | 0 | T | F | if ($key > -1 and $rank ne 'del' and $rank > 0) |
1552 | 0 | T | F | unless ($ignoreSetLowestRank) |
1606 | 0 | T | F | if (my $data = $sth->fetchrow_hashref) |
1609 | 0 | T | F | if @results |
1636 | 0 | T | F | if (my $data = $sth->fetchrow_hashref) |
1639 | 0 | T | F | if @results |
1692 | 0 | T | F | if ($which_address eq 'OFF') { } |
1701 | 0 | T | F | if ($to_address or $$borrower{'smsalertnumber'}) { } |
1704 | 0 | T | F | if not defined $$messagingprefs{'letter_code'} |
1724 | 0 | T | F | unless $letter |
1731 | 0 | T | F | if ($$reserve{'itemnumber'}) |
1739 | 0 | T | F | if ($print_mode) |
1749 | 0 | T | F | if (grep {$_ eq 'email';} @{$$messagingprefs{'transports'};}) |
1760 | 0 | T | F | if (grep {$_ eq 'sms';} @{$$messagingprefs{'transports'};}) |
1797 | 0 | T | F | if $min_priority |
1832 | 0 | T | F | unless $res |
1837 | 0 | T | F | if ($$res{'borrowernumber'} == $borrowernumber) { } |
1847 | 0 | T | F | unless $$_{'borrowernumber'} == $borrowernumber |
1848 | 0 | T | F | unless $$_{'biblionumber'} == $biblionumber |
1854 | 0 | T | F | if ($borr_res) |
1859 | 0 | T | F | if ($cancelreserve) |
1880 | 0 | T | F | if (my $data = $sth->fetchrow_hashref) |