[Koha-cvs] CVS: koha/C4 Accounts2.pm,1.18,1.19

Andrew Arensburger arensb at users.sourceforge.net
Sun Oct 13 13:33:09 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv4485

Modified Files:
	Accounts2.pm 
Log Message:
Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y".
Thus, $x = $x+2 becomes $x += 2, and so forth.


Index: Accounts2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Accounts2.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** Accounts2.pm	13 Oct 2002 05:50:58 -0000	1.18
--- Accounts2.pm	13 Oct 2002 11:33:06 -0000	1.19
***************
*** 99,104 ****
       if ($accdata->{'amountoutstanding'} < $amountleft) {
          $newamtos = 0;
! 	$amountleft = $amountleft - $accdata->{'amountoutstanding'};
! 				# FIXME - -=
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
--- 99,103 ----
       if ($accdata->{'amountoutstanding'} < $amountleft) {
          $newamtos = 0;
! 	$amountleft -= $accdata->{'amountoutstanding'};
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
***************
*** 376,381 ****
      if ($accdata->{'amountoutstanding'} < $amountleft) {
          $newamtos = 0;
! 	$amountleft = $amountleft - $accdata->{'amountoutstanding'};
! 				# FIXME - -=
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
--- 375,379 ----
      if ($accdata->{'amountoutstanding'} < $amountleft) {
          $newamtos = 0;
! 	$amountleft -= $accdata->{'amountoutstanding'};
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
***************
*** 408,413 ****
       if ($accdata->{'amountoutstanding'} < $amountleft) {
          $newamtos = 0;
! 	$amountleft = $amountleft - $accdata->{'amountoutstanding'};
! 				# FIXME - -=
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
--- 406,410 ----
       if ($accdata->{'amountoutstanding'} < $amountleft) {
          $newamtos = 0;
! 	$amountleft -= $accdata->{'amountoutstanding'};
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
***************
*** 461,466 ****
       if ($accdata->{'amountoutstanding'} > $amountleft) {
          $newamtos = 0;
! 	$amountleft = $amountleft - $accdata->{'amountoutstanding'};
! 				# FIXME - -=
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;
--- 458,462 ----
       if ($accdata->{'amountoutstanding'} > $amountleft) {
          $newamtos = 0;
! 	$amountleft -= $accdata->{'amountoutstanding'};
       }  else {
          $newamtos = $accdata->{'amountoutstanding'} - $amountleft;





More information about the Koha-cvs mailing list