Added meta data to transactions

This commit is contained in:
Finn 2019-07-12 20:46:39 +01:00
parent 536d11f298
commit cc84dbb76e
No known key found for this signature in database
GPG Key ID: 7455B4B17685B598
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ sub post_transaction_list_purchases {
seller => $_->seller->name,
value => $_->value / 100000,
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
);