feat: added the compliance/customers route
feat: added customers list page feat: created the Customer type on the gql server and consume it Currently only with the 'name' property feat: added query on gql to get the customers list with the needed props feat: added the currently available props to the front end table fix: consider only sent txs for the aggregations on the customers list fix: replace ExpTable with a non-expandable one fix: remove unused properties from gql and front-end fix: fixed the customers list columns width fix: the last active table column was reading the wrong property chore: remove debug logging fix: use the correct table columns to check for txs that should be considered on the customers list page fix: use the international format for phone numbers feat: added the search box fix: remove ordering from the gql customers list query and moved it to the front-end) fix: removed the search box chore: refactor the customers list table into a new component chore: cleanup code fix: fixed styles from customer list page header
This commit is contained in:
parent
4320df2d61
commit
507027cdee
10 changed files with 327 additions and 4 deletions
|
|
@ -13,6 +13,7 @@ import AuthRegister from 'src/pages/AuthRegister'
|
|||
import OperatorInfo from 'src/pages/OperatorInfo/OperatorInfo'
|
||||
|
||||
import MachineStatus from '../pages/maintenance/MachineStatus'
|
||||
import Customers from '../pages/Customers'
|
||||
|
||||
const tree = [
|
||||
{ key: 'transactions', label: 'Transactions', route: '/transactions' },
|
||||
|
|
@ -55,6 +56,28 @@ const tree = [
|
|||
},
|
||||
{ key: 'info', label: 'Operator Info', route: '/settings/operator-info' }
|
||||
]
|
||||
},
|
||||
{
|
||||
key: 'compliance',
|
||||
label: 'Compliance',
|
||||
route: '/compliance',
|
||||
children: [
|
||||
// {
|
||||
// key: 'triggers',
|
||||
// label: 'Triggers',
|
||||
// route: '/compliance/triggers'
|
||||
// },
|
||||
{
|
||||
key: 'customers',
|
||||
label: 'Customers',
|
||||
route: '/compliance/customers'
|
||||
}
|
||||
// {
|
||||
// key: 'blacklist',
|
||||
// label: 'Blacklist',
|
||||
// route: '/compliance/blacklist'
|
||||
// }
|
||||
]
|
||||
}
|
||||
// compliance: { label: 'Compliance', children: [{ label: 'Locale', route: '/locale' }] }
|
||||
]
|
||||
|
|
@ -88,6 +111,7 @@ const Routes = () => (
|
|||
<Route path="/transactions" component={Transactions} />
|
||||
<Route path="/register" component={AuthRegister} />
|
||||
<Route path="/maintenance/machine-status" component={MachineStatus} />
|
||||
<Route path="/compliance/customers" component={Customers} />
|
||||
</Switch>
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue