$sendfee = C4::Context->preference('DefaultNoticeFee');
}
if ($sendfee > 0){
if (defined($sendfee) && $sendfee > 0){
C4::Accounts::manualinvoice($borrowernumber, "", "", "F", $sendfee, C4::Context->preference('NoticeFeeNote'));
-