Added extra widgets and fixed api issue

This commit is contained in:
Tom Bloor 2017-09-05 12:04:36 +01:00
parent e0a78c0f43
commit ec49bff840
2 changed files with 24 additions and 2 deletions

View file

@ -39,6 +39,28 @@ export class DashboardComponent implements OnInit {
icon: 'icon-people',
title: 'Customers Last 30 Days',
},
{
type: 'graph',
name: 'sales_last_7_days',
icon: 'icon-diamond',
title: 'Sales Last 7 Days',
},
{
type: 'graph',
name: 'sales_last_30_days',
icon: 'icon-diamond',
title: 'Sales Last 30 Days',
},
{
type: 'graph',
name: 'purchases_last_7_days',
title: 'Purchases Last 7 Days',
},
{
type: 'graph',
name: 'purchases_last_30_days',
title: 'Purchases Last 30 Days',
},
];
constructor(