# Already generated discharges
my $validated_discharges = Koha::Borrower::Discharge::get_validated({
borrowernumber => $borrowernumber,
branchcode => $data->{'branchcode'},
});
-