projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeef609
)
Hide the payment/writeoff dropdown on lines that are credits (or forgiven).
author
Ryan Higgins
<rch@liblime.com>
Thu, 24 Jul 2008 01:02:46 +0000
(20:02 -0500)
committer
Joshua Ferraro
<jmf@liblime.com>
Thu, 24 Jul 2008 16:26:11 +0000
(11:26 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
members/pay.pl
patch
|
blob
|
history
diff --git
a/members/pay.pl
b/members/pay.pl
index
c968797
..
a650472
100755
(executable)
--- a/
members/pay.pl
+++ b/
members/pay.pl
@@
-115,7
+115,7
@@
if ( $check == 0 ) {
$line{title} = $accts->[$i]{'title'};
$line{notify_id} = $accts->[$i]{'notify_id'};
$line{notify_level} = $accts->[$i]{'notify_level'};
- $line{net_balance} = 1
;
+ $line{net_balance} = 1
if($accts->[$i]{'amountoutstanding'} > 0); # you can't pay a credit.
push( @loop_pay, \%line );
}
}