diff --git a/resources/views/locations/view.blade.php b/resources/views/locations/view.blade.php
index 5f0c28d6e..341fd89b8 100644
--- a/resources/views/locations/view.blade.php
+++ b/resources/views/locations/view.blade.php
@@ -151,7 +151,7 @@
@if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
-
 }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }})
+
@endif
diff --git a/resources/views/suppliers/view.blade.php b/resources/views/suppliers/view.blade.php
index 72655fbde..032345abb 100755
--- a/resources/views/suppliers/view.blade.php
+++ b/resources/views/suppliers/view.blade.php
@@ -222,7 +222,7 @@
@if (($supplier->state!='') && ($supplier->country!='') && (config('services.google.maps_api_key')))
-
 }}&size=500x300&maptype=roadmap&key={{ config('services.google.maps_api_key') }})
+
@endif