sub to_api_mapping {
return {
bookselleremail => undef,
- booksellerurl => undef,
currency => undef,
listprice => 'list_currency',
invoiceprice => 'invoice_currency',
bookselleraddress3 => $bookseller->address3,
bookselleraddress4 => $bookseller->address4,
booksellerphone =>$bookseller->phone,
- booksellerurl => $bookseller->url,
booksellernotes => $bookseller->notes,
basketcount => $bookseller->baskets->count,
subscriptioncount => $bookseller->subscriptions->count,
[% bookselleraddress2 | html %]
[% bookselleraddress3 | html %]
[% bookselleraddress4 | html %]
- <a href="[% booksellerurl | url %]">[% booksellerurl | html %]</a>
</p>
<p><strong>Phone: </strong>
[% booksellerphone | html %] / Fax: