projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
904a433
)
Checking for the existence of flags (debarred, gonenoaddress. lost) and setting ...
author
oleonard
<oleonard>
Thu, 27 Jan 2005 22:33:16 +0000
(22:33 +0000)
committer
oleonard
<oleonard>
Thu, 27 Jan 2005 22:33:16 +0000
(22:33 +0000)
members/moremember.pl
patch
|
blob
|
history
diff --git
a/members/moremember.pl
b/members/moremember.pl
index
bcf56ec
..
18c98e7
100755
(executable)
--- a/
members/moremember.pl
+++ b/
members/moremember.pl
@@
-71,6
+71,10
@@
$data->{'expiry'} = format_date($data->{'expiry'});
$data->{'dateofbirth'} = format_date($data->{'dateofbirth'});
$data->{'IS_ADULT'} = ($data->{'categorycode'} ne 'I');
+if($data->{'debarred'} || $data->{'gonenoaddress'} || $data->{'lost'}){
+ $template->param(flagged =>1);
+}
+
$data->{'ethnicity'} = fixEthnicity($data->{'ethnicity'});
$data->{&expand_sex_into_predicate($data->{'sex'})} = 1;