line | % | coverage | branch |
120 | 0 | T | F | if (my $s = $$suggestion{$_}) { } |
128 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches')) |
129 | 0 | T | F | if ($userenv) |
130 | 0 | T | F | if ($$userenv{'flags'} % 2 != 1 and not $$suggestion{'branchcode'}) |
143 | 0 | T | F | if ($$suggestion{$field}) { } |
157 | 0 | T | F | if ($$suggestion{$from} or $$suggestion{$to}) |
163 | 0 | T | F | if $debug |
308 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches') or $branchcode) |
310 | 0 | T | F | if ($userenv) |
311 | 0 | T | F | unless ($$userenv{'flags'} % 2 == 1) |
316 | 0 | T | F | if ($branchcode) |
358 | 0 | T | F | if ('C4::Context'->preference('IndependantBranches')) { } |
360 | 0 | T | F | if ($$userenv{'flags'} % 2 == 1) { } |
404 | 0 | T | F | unless $$suggestion{'STATUS'} |
425 | 0 | T | F | if ($$suggestion{'STATUS'}) |
428 | 0 | T | F | if (my $letter = C4::Letters::GetPreparedLetter('module', 'suggestions', 'letter_code', $$full_suggestion{'STATUS'}, 'branchcode', $$full_suggestion{'branchcode'}, 'tables', {'branches', $$full_suggestion{'branchcode'}, 'borrowers', $$full_suggestion{'suggestedby'}, 'suggestions', $full_suggestion, 'biblio', $$full_suggestion{'biblionumber'}})) |
439 | 0 | T | F | unless &C4::Letters::EnqueueLetter({'letter', $letter, 'borrowernumber', $$full_suggestion{'suggestedby'}, 'suggestionid', $$full_suggestion{'suggestionid'}, 'LibraryName', 'C4::Context'->preference('LibraryName'), 'message_transport_type', 'email'}) |
491 | 0 | T | F | if ($type eq 'intranet' or $suggestedby eq $borrowernumber) |
510 | 0 | T | F | if not $days |