diff --git a/dashboard/app/Api.php b/dashboard/app/Api.php index aa704c3..5a45579 100644 --- a/dashboard/app/Api.php +++ b/dashboard/app/Api.php @@ -78,6 +78,10 @@ class Api return self::get("/property/{$id}/capacities/weekdays/{$date}"); } + public static function propertyNeighbours(int $id): mixed + { + return self::get("/property/{$id}/neighbours"); + } diff --git a/dashboard/resources/views/property.blade.php b/dashboard/resources/views/property.blade.php index 2cf97b7..3ba8e59 100644 --- a/dashboard/resources/views/property.blade.php +++ b/dashboard/resources/views/property.blade.php @@ -12,6 +12,12 @@