fixed var names
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 18 Jul 2006 17:23:21 +0000 (17:23 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 18 Jul 2006 17:23:21 +0000 (17:23 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5062 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/javascript/backend/penalty/patron_penalty.js

index 880f64f..f297a57 100644 (file)
@@ -9,11 +9,11 @@ var config = findGroupConfig(patronProfile);
 if( config ) {
 
        /* check the fine limit */
-       if( config.fineLimit >= 0 && patronFines >= config.fineThreshold ) 
+       if( config.fineThreshold >= 0 && patronFines >= config.fineThreshold ) 
                result.fatalEvents.push('PATRON_EXCEEDS_FINES');
 
        /* check the overdue limit */
-       if( config.overdueLimit >= 0 && patronOverdueCount >= config.overdueThreshold )
+       if( config.overdueThreshold >= 0 && patronOverdueCount >= config.overdueThreshold )
                result.fatalEvents.push('PATRON_EXCEEDS_OVERDUE_COUNT');
 
 } else {