if ($transaction_type eq 'ALL') { #All Transactons
$whereTType = '';
} elsif ($transaction_type eq 'ACT') { #Active
- $whereTType = " accounttype NOT IN ('F', 'FU', 'FOR', 'M', 'L') AND ";
+ $whereTType = " accounttype IN ('Pay','C') AND ";
} else { #Single transac type
if ($transaction_type eq 'FORW') {
$whereTType = " accounttype = 'FOR' OR accounttype = 'W' AND ";
beginDate => $fromDate,
endDate => $toDate,
transaction_type => $transaction_type,
- branchloop => C4::Branch::GetBranchesLoop($manager_branchcode),
+ branchloop => Koha::Libraries->search({}, { order_by => ['branchname'] })->unblessed,
manualinv_types => $manualinv_types,
CGIsepChoice => GetDelimiterChoices,
);