add converted fields
This commit is contained in:
parent
08ff92b3e9
commit
200c324b68
1 changed files with 8 additions and 1 deletions
|
|
@ -12,8 +12,15 @@ select
|
|||
transaction_at_utc,
|
||||
date_string,
|
||||
total_amount_local_curr,
|
||||
subtotal_local_curr,
|
||||
(total_amount_local_curr * exchange_rate_to_gbp)::numeric(
|
||||
18, 4
|
||||
) as total_amount_in_gbp,
|
||||
total_amount_wo_tax_local_curr,
|
||||
(total_amount_wo_tax_local_curr * exchange_rate_to_gbp)::numeric(
|
||||
18, 4
|
||||
) as total_amount_wo_tax_in_gbp,
|
||||
total_tax_local_curr,
|
||||
(total_tax_local_curr * exchange_rate_to_gbp)::numeric(18, 4) as total_tax_in_gbp,
|
||||
transaction_currency_iso_4217,
|
||||
exchange_rate_to_gbp,
|
||||
line_amount_tax_inclusiveness,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue