mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 12:05:41 +01:00
update avg aggregate for revenue report
This commit is contained in:
parent
9d0da45c09
commit
065499a3fa
5 changed files with 17 additions and 23 deletions
|
|
@ -23,7 +23,7 @@ export function RevenueTable() {
|
|||
{row => formatLongCurrency(row.sum, row.currency)}
|
||||
</GridColumn>
|
||||
<GridColumn name="currency" label={formatMessage(labels.average)} alignment="end">
|
||||
{row => formatLongCurrency(row.avg, row.currency)}
|
||||
{row => formatLongCurrency(row.count ? row.sum / row.count : 0, row.currency)}
|
||||
</GridColumn>
|
||||
<GridColumn name="currency" label={formatMessage(labels.transactions)} alignment="end">
|
||||
{row => row.count}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue