since we're re-circulating to previous patrons sometimes as a poor man's check-in...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 27 Jul 2010 22:33:10 +0000 (22:33 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 27 Jul 2010 22:33:10 +0000 (22:33 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17046 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

index 2a9c585..8cb1dd1 100644 (file)
@@ -518,6 +518,8 @@ my @AUTOLOAD_FIELDS = qw/
     return_patron
     claims_never_checked_out
     skip_permit_key
+    skip_deposit_fee
+    skip_rental_fee
 /;
 
 
@@ -1432,6 +1434,9 @@ sub apply_deposit_fee {
         ($self->is_deposit and not $self->is_deposit_exempt) or 
         ($self->is_rental and not $self->is_rental_exempt);
 
+    return if $self->is_deposit and $self->skip_deposit_fee;
+    return if $self->is_rental and $self->skip_rental_fee;
+
        my $bill = Fieldmapper::money::billing->new;
     my $amount = $copy->deposit_amount;
     my $billing_type;