Include notes in output of requests; better find output formatting
This commit is contained in:
parent
ca8348d84b
commit
0219fc3dee
1 changed files with 7 additions and 9 deletions
|
@ -82,22 +82,20 @@ foreach my $id (@supporterIds) {
|
|||
print " Request $req->{requestId} of $req->{requestType}";
|
||||
print "($req->{requestConfiguration})" if defined $req->{requestConfiguration};
|
||||
print " made on $req->{requestDate}";
|
||||
if (not defined $req->{fulfillDate}) {
|
||||
print "\n";
|
||||
} else {
|
||||
if (defined $req->{fulfillDate}) {
|
||||
print "...\n fulfilled on $req->{fulfillDate}";
|
||||
print "...\n by: $req->{fulfilledBy}" if defined $req->{fulfilledBy};
|
||||
print "...\n via: $req->{fulfilledVia}" if defined $req->{fulfilledVia};
|
||||
}
|
||||
if (not defined $req->{holdDate} ) {
|
||||
print "\n";
|
||||
} else {
|
||||
if (defined $req->{holdDate} ) {
|
||||
print "...\n put on hold on $req->{holdDate} by $req->{holder}";
|
||||
print "...\n release on: $req->{holdReleaseDate}" if defined $req->{holdReleaseDate};
|
||||
print "...\n on hold because: $req->{heldBecause}\n" if defined $req->{heldBecause};
|
||||
|
||||
|
||||
print "...\n on hold because: $req->{heldBecause}" if defined $req->{heldBecause};
|
||||
}
|
||||
if (defined $req->{notes}) {
|
||||
print "...\n Notes: $req->{notes}";
|
||||
}
|
||||
print "\n\n";
|
||||
}
|
||||
}
|
||||
print "END: $id, ", $sp->getLedgerEntityId($id);
|
||||
|
|
Loading…
Reference in a new issue