Added meta data to transactions

This commit is contained in:
Finn 2019-07-12 20:46:39 +01:00
parent 22b86ca21d
commit 04a8186b2a

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