setting stop_fines_time ... duh
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Sep 2006 16:45:06 +0000 (16:45 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Sep 2006 16:45:06 +0000 (16:45 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5918 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index 9395af9..718d8cc 100644 (file)
@@ -551,7 +551,7 @@ sub generate_fines {
                        for (my $bill = 1; $bill <= $pending_fine_count; $bill++) {
        
                                if ($current_fine_total >= $max_fine) {
                        for (my $bill = 1; $bill <= $pending_fine_count; $bill++) {
        
                                if ($current_fine_total >= $max_fine) {
-                                       $c->update({stop_fines => 'MAXFINES'});
+                                       $c->update({stop_fines => 'MAXFINES', stop_fines_time => 'now'});
                                        $client->respond(
                                                "\tMaximum fine level of ".$c->max_fine.
                                                " reached for this circulation.\n".
                                        $client->respond(
                                                "\tMaximum fine level of ".$c->max_fine.
                                                " reached for this circulation.\n".