$argshash->{patron_id},
{
flesh => 1,
- flesh_fields => { au => ["mailing_address"] }
+ flesh_fields => { au => ["mailing_address", "card"] }
}
]
) or return $e->event;
$content{FirstName} = $content{first_name}; # kludge mcugly for PP
$content{LastName} = $content{last_name};
+ # makes patron barcode accessible in CC payment records
+ my $bc = ($patron->card) ? $patron->card->barcode : '';
+ $content{description} = "$bc " . ($content{description} || '');
# Especially for the following fields, do we need to support different
# mapping of fields for different payment processors, particularly ones