From 6fcd4ba587d405bd1785d32767b597c0e463f48f Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 8 Sep 2006 04:33:03 +0000 Subject: [PATCH] fixed some typos git-svn-id: svn://svn.open-ils.org/ILS/trunk@6024 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Actor.pm | 7 ++++--- Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm index 6be58f8fe9..8afd2505e4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm @@ -1875,7 +1875,8 @@ sub _make_mbts { $s->last_billing_type($b->billing_type); } } - $s->total_owed( sprintf('%0.2f', $to / 100 ); + + $s->total_owed( sprintf('%0.2f', $to / 100 ) ); my $tp = 0; my $lp = undef; @@ -1890,9 +1891,9 @@ sub _make_mbts { $s->last_payment_type($p->payment_type); } } - $s->total_paid( sprintf('%0.2f', $tp / 100 ); + $s->total_paid( sprintf('%0.2f', $tp / 100 ) ); - $s->balance_owed( sprintf('%0.2f', int($to - $tp) / 100); + $s->balance_owed( sprintf('%0.2f', int($to - $tp) / 100) ); $s->xact_type( 'grocery' ) if ($x->grocery); $s->xact_type( 'circulation' ) if ($x->circulation); diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm index b1571b2c48..711c5e8215 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Money.pm @@ -512,7 +512,7 @@ sub _make_mbts { $s->last_billing_type($b->billing_type); } } - $s->total_owed( sprintf('%0.2f', $to / 100 ); + $s->total_owed( sprintf('%0.2f', $to / 100 ) ); my $tp = 0; my $lp = undef; @@ -527,9 +527,9 @@ sub _make_mbts { $s->last_payment_type($p->payment_type); } } - $s->total_paid( sprintf('%0.2f', $tp / 100 ); + $s->total_paid( sprintf('%0.2f', $tp / 100 ) ); - $s->balance_owed( sprintf('%0.2f', int($to - $tp) / 100); + $s->balance_owed( sprintf('%0.2f', int($to - $tp) / 100) ); $s->xact_type( 'grocery' ) if ($x->grocery); $s->xact_type( 'circulation' ) if ($x->circulation); -- 2.43.2