Added and moved breadcrumb data to dashboard

This commit is contained in:
piratefinn 2017-06-22 16:30:35 +01:00
parent a36e8959fa
commit 750774ec5c
6 changed files with 95 additions and 25 deletions

View file

@ -84,7 +84,20 @@ export class ApiService {
).map( response => response.json() );
}
// Fake data to mimic
// Fake Breadcrumb data
public breadcrumb_data(data) {
return Observable.of(
{
"customersthismonth" : 196,
"moneyspentthismonth" : 156.02,
"pointstotal" : 506,
"averagetransactiontoday" : 3.69
}
)
}
// Fake chart data to mimic
public graph_data(data) {
return Observable.of(