dashboard einzelansicht trend auslastung.
This commit is contained in:
1 parent
4b7067fb63
commit
47a5035787
7 files changed
+148
-11
No files matched your search
@@ -17,7 +17,6 @@ Route::get('/', function () {
|
||||
}
|
||||
|
||||
$propertiesGeo = Api::propertiesGeo();
|
||||
//dump($propertiesGeo);
|
||||
|
||||
return view('overview', ["geo" => $propertiesGeo, "growth" => $propertiesGrowth, "propsPerRegion" => [json_encode($propsPerRegionName), json_encode($propsPerRegionCounts)]]);
|
||||
});
|
||||
@@ -26,6 +25,7 @@ Route::get('/prop/{id}', function (int $id) {
|
||||
|
||||
$propertyBase = Api::propertyBase($id);
|
||||
$extractions = Api::propertyExtractions($id);
|
||||
$propertyCapacities = Api::propertyCapacities($id);
|
||||
$data = [];
|
||||
$dates = [];
|
||||
|
||||
@@ -46,5 +46,5 @@ Route::get('/prop/{id}', function (int $id) {
|
||||
|
||||
}
|
||||
|
||||
return view('property', ['base' => $propertyBase[0], "extractiondates" => json_encode($dates), "calendar" => $data]);
|
||||
return view('property', ['base' => $propertyBase[0], "extractiondates" => json_encode($dates), "calendar" => $data, 'capacities' => $propertyCapacities]);
|
||||
});
|
||||
Reference in new issue
Block a user