return $result if ($result);
}
+ # Check if the copy circ lib wants lost processing fees voided on
+ # claims returned.
+ if ($U->is_true($U->ou_ancestor_setting_value($copy->circ_lib, 'circ.void_lost_proc_fee_on_claimsreturned', $e))) {
+ my $result = OpenILS::Application::Circ::CircCommon->void_lost(
+ $e,
+ $circ,
+ 4
+ );
+ return $result if ($result);
+ }
+
$e->commit;
return 1;
}
my $note = ($bill->note) ? $bill->note . "\n" : '';
$bill->note("${note}System: VOIDED FOR LOST ITEM RETURNED");
- return $e->die_event
+ return $e->event
unless $e->update_money_billing($bill);
}
}
oils_i18n_gettext('circ.void_lost_on_claimsreturned',
'Void lost item billing when claims returned',
'coust', 'description'),
+ 'bool'),
+ ('circ.void_lost_proc_fee_on_claimsreturned',
+ 'circ',
+ oils_i18n_gettext('circ.void_lost_proc_fee_on_claimsreturned',
+ 'Void lost item processing fee when claims returned',
+ 'coust', 'label'),
+ oils_i18n_gettext('circ.void_lost_proc_fee_on_claimsreturned',
+ 'Void lost item processing fee when claims returned',
+ 'coust', 'description'),
'bool');
oils_i18n_gettext('circ.void_lost_on_claimsreturned',
'Void lost item billing when claims returned',
'coust', 'description'),
+ 'bool'),
+ ('circ.void_lost_proc_fee_on_claimsreturned',
+ 'circ',
+ oils_i18n_gettext('circ.void_lost_proc_fee_on_claimsreturned',
+ 'Void lost item processing fee when claims returned',
+ 'coust', 'label'),
+ oils_i18n_gettext('circ.void_lost_proc_fee_on_claimsreturned',
+ 'Void lost item processing fee when claims returned',
+ 'coust', 'description'),
'bool');
COMMIT;