Added meta data to transactions
This commit is contained in:
parent
536d11f298
commit
cc84dbb76e
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ sub post_transaction_list_purchases {
|
||||||
seller => $_->seller->name,
|
seller => $_->seller->name,
|
||||||
value => $_->value / 100000,
|
value => $_->value / 100000,
|
||||||
purchase_time => $c->format_iso_datetime($_->purchase_time),
|
purchase_time => $c->format_iso_datetime($_->purchase_time),
|
||||||
|
net_value => $_->meta->net_value / 100000,
|
||||||
|
sales_tax_value => $_->meta->sales_tax_value / 100000,
|
||||||
|
gross_value => $_->meta->gross_value / 100000,
|
||||||
}} $transactions->all
|
}} $transactions->all
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Reference in a new issue