feat: add cash-out screen

feat: add cash-out route

feat: add cash-out table component

feat: add cash-out page

feat: add wizard splash for enable cashout

feat: wizard component for enable cash-out

feat: use wizard to enable cash-out

fix: denominations are numbers

feat: update cashout denominations config on gql

feat: refetch cashout infos after config save

fix: use default table for cashout table

fix: move cashout table closer to parent
This commit is contained in:
Mauricio Navarro Miranda 2020-02-22 00:41:41 -06:00
parent 01e330ae98
commit af95a366c6
6 changed files with 642 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import React from 'react'
import { Route, Redirect, Switch } from 'react-router-dom'
import AuthRegister from 'src/pages/AuthRegister'
import Cashout from 'src/pages/Cashout/Cashout'
import Commissions from 'src/pages/Commissions'
import Customers from 'src/pages/Customers'
import Funding from 'src/pages/Funding'
@ -67,6 +68,12 @@ const tree = [
return () => <Redirect to={this.children[0].route} />
},
children: [
{
key: namespaces.CASH_OUT,
label: 'Cash-out',
route: '/settings/cash-out',
component: Cashout
},
{
key: namespaces.COMMISSIONS,
label: 'Commissions',