Methods
(inner) TurnoverReportTable(props) → {view}
- Description:
Render
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
props |
props |
Returns:
- Type
- view
(inner) calculatePercentageProfit(profit, totalStake) → {string}
- Description:
Calculate percentage profit
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
profit |
number | The profit amount |
totalStake |
number | The total stake amount |
Returns:
Formatted percentage string with 2 decimal places
- Type
- string
Type Definitions
props
Properties:
| Name | Type | Description |
|---|---|---|
turnover |
Array | Turnover data |
currency |
Array |
Type:
- object