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

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
);