Display RT ticket for find supporter.
This commit is contained in:
parent
60260bd59c
commit
9a54b77881
1 changed files with 8 additions and 1 deletions
|
@ -34,9 +34,13 @@ my @requestTypes = $sp->getRequestType();
|
|||
binmode STDOUT, ":utf8";
|
||||
foreach my $id (@supporterIds) {
|
||||
$found = 1;
|
||||
my $rtTicket = $sp->_getDonorField('rt_ticket', $id);
|
||||
$rtTicket = "" if not defined $rtTicket;
|
||||
$rtTicket = "[sfconservancy.org #$rtTicket]" if $rtTicket ne "";
|
||||
my $preferredEmail = $sp->getPreferredEmailAddress($id);
|
||||
my $preferredPostal = $sp->getPreferredPostalAddress($id);
|
||||
print "Found: $id, ", $sp->getLedgerEntityId($id), "\n";
|
||||
print "Found: BEGIN: $id, ", $sp->getLedgerEntityId($id), "\n";
|
||||
print " RT: $rtTicket" if $rtTicket ne "";
|
||||
print " Public Ack: ";
|
||||
if (not defined $sp->getPublicAck($id)) {
|
||||
print "unknown\n";
|
||||
|
@ -91,6 +95,9 @@ foreach my $id (@supporterIds) {
|
|||
}
|
||||
}
|
||||
}
|
||||
print "END: $id, ", $sp->getLedgerEntityId($id);
|
||||
print " RT: $rtTicket" if $rtTicket ne "";
|
||||
print "\n";
|
||||
}
|
||||
print "No entries found\n" unless $found;
|
||||
###############################################################################
|
||||
|
|
Loading…
Reference in a new issue