Fix the warehouse diagrams on the dashboard #103
@ -156,7 +156,7 @@
 | 
				
			|||||||
                    fetch('./dashboardsummary')
 | 
					                    fetch('./dashboardsummary')
 | 
				
			||||||
                        .then(response => response.json())
 | 
					                        .then(response => response.json())
 | 
				
			||||||
                        .then(data => {
 | 
					                        .then(data => {
 | 
				
			||||||
                            chart('warehouse', 'Lagerauslastung', data.map(d => d.todaysWarehouseCapacity),
 | 
					                            chart('warehouse', 'Lagerauslastung', data.map(d => d.currentWarehouseCapacity * 100),
 | 
				
			||||||
                                "%", data.map(g => g.created));
 | 
					                                "%", data.map(g => g.created));
 | 
				
			||||||
                        });
 | 
					                        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -170,7 +170,7 @@
 | 
				
			|||||||
                    fetch('./dashboardsummary')
 | 
					                    fetch('./dashboardsummary')
 | 
				
			||||||
                        .then(response => response.json())
 | 
					                        .then(response => response.json())
 | 
				
			||||||
                        .then(data => {
 | 
					                        .then(data => {
 | 
				
			||||||
                            chart('warehouse-ef', 'Lagereffizienz', data.map(d => d.todaysWarehouseCapacity),
 | 
					                            chart('warehouse-ef', 'Lagereffizienz', data.map(d => d.todaysWarehouseCapacity * 100),
 | 
				
			||||||
                                "%", data.map(g => g.created));
 | 
					                                "%", data.map(g => g.created));
 | 
				
			||||||
                        });
 | 
					                        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user