UpdateStats(
{
branch => $library_id,
type => $type,
type => lc($type),
amount => $amount,
borrowernumber => $self->{patron_id},
}
type => $credit_type,
type => lc($credit_type),
-