From 266a8aa323c0b1b30d3dc887a0cf4b4d0ad6cece Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 23 Jan 2013 17:18:25 -0500 Subject: [PATCH] Lose the "TODO" comments about an org_unit_setting. Signed-off-by: Jason Stephenson --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm | 5 ----- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm index e29cc24440..25998fecfe 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CircCommon.pm @@ -66,11 +66,6 @@ sub void_overdues { $outstanding_overdues = ($outstanding_overdues*100 + $bill->amount*100)/100; } - # TODO: I am sure that at some point someone is going to want to - # keep the old behavior of voiding the whole bill amount and if - # that give the patron a "credit" then so be it. I'll need an ou - # setting for that. - if ($outstanding_overdues >= 0.01) { # Make void payment my $payobj = Fieldmapper::money::void_payment->new; diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm index f8358f813a..d37a291a90 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm @@ -748,11 +748,6 @@ sub void_bill { $open_amount = ($open_amount*100 + $open_bill->amount*100)/100; } - # TODO: I am sure that at some point someone is going to want - # to keep the old behavior of voiding the whole bill amount - # and if that give the patron a "credit" then so be it. I'll - # need an ou setting for that. - if($open_amount == 0) { $e->rollback; return OpenILS::Event->new('BILL_ALREADY_VOIDED', payload => $bill); -- 2.11.0