tx.commission_percentage added
This commit is contained in:
parent
038a22aba7
commit
03279c8d2c
7 changed files with 140 additions and 42 deletions
|
|
@ -134,6 +134,7 @@ rowView tx =
|
|||
]
|
||||
, td [] [ cryptoCodeDisplay cashIn.cryptoCode ]
|
||||
, td [ class [ C.NumberColumn ] ] [ text (format "0,0.00" cashIn.fiat) ]
|
||||
, td [ class [ C.NumberColumn ] ] [ text (format "0,0.00" (Maybe.withDefault 0.0 cashIn.commissionPercentage)) ]
|
||||
, td [ class [ C.NumberColumn ] ] [ text (Maybe.withDefault "" cashIn.phone) ]
|
||||
, td [ class [ C.TxAddress ] ] [ text cashIn.toAddress ]
|
||||
]
|
||||
|
|
@ -158,6 +159,7 @@ rowView tx =
|
|||
]
|
||||
, td [] [ cryptoCodeDisplay cashOut.cryptoCode ]
|
||||
, td [ class [ C.NumberColumn ] ] [ text (format "0,0.00" cashOut.fiat) ]
|
||||
, td [ class [ C.NumberColumn ] ] [ text (format "0,0.00" (Maybe.withDefault 0.0 cashOut.commissionPercentage)) ]
|
||||
, td [ class [ C.NumberColumn ] ] [ text (Maybe.withDefault "" cashOut.phone) ]
|
||||
, td [ class [ C.TxAddress ] ] [ text cashOut.toAddress ]
|
||||
]
|
||||
|
|
@ -177,6 +179,7 @@ tableView txs =
|
|||
, td [ class [ C.TxMachine ] ] [ text "Machine" ]
|
||||
, td [ colspan 2 ] [ text "Crypto" ]
|
||||
, td [ class [ C.TxAmount ] ] [ text "Fiat" ]
|
||||
, td [ class [ C.TxAmount ] ] [ text "Commission" ]
|
||||
, td [ class [ C.TxPhone ] ] [ text "Phone" ]
|
||||
, td [ class [ C.TxAddress ] ] [ text "To address" ]
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue