Print public ack status on find-supporter script.
This commit is contained in:
parent
32bf9f399c
commit
fd6b55e7be
1 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,14 @@ foreach my $id (@supporterIds) {
|
||||||
my $preferredEmail = $sp->getPreferredEmailAddress($id);
|
my $preferredEmail = $sp->getPreferredEmailAddress($id);
|
||||||
my $preferredPostal = undef; # $sp->getPreferredPostalAddress($id);
|
my $preferredPostal = undef; # $sp->getPreferredPostalAddress($id);
|
||||||
print "Found: $id, ", $sp->getLedgerEntityId($id), "\n";
|
print "Found: $id, ", $sp->getLedgerEntityId($id), "\n";
|
||||||
|
print " Public Ack: ";
|
||||||
|
if (not defined $sp->getPublicAck($id)) {
|
||||||
|
print " unknown\n";
|
||||||
|
} elsif ($sp->getPublicAck($id)) {
|
||||||
|
print " yes\n";
|
||||||
|
} else {
|
||||||
|
print " no\n";
|
||||||
|
}
|
||||||
my(%addr) = $sp->getEmailAddresses($id);
|
my(%addr) = $sp->getEmailAddresses($id);
|
||||||
print " Email Addresses: ";
|
print " Email Addresses: ";
|
||||||
my $cnt = 0;
|
my $cnt = 0;
|
||||||
|
|
Loading…
Reference in a new issue