diff --git a/public/images/marker-icon-green.png b/public/images/marker-icon-green.png new file mode 100644 index 0000000..56db5ea Binary files /dev/null and b/public/images/marker-icon-green.png differ diff --git a/public/images/marker-shadow.png b/public/images/marker-shadow.png new file mode 100644 index 0000000..84c5808 Binary files /dev/null and b/public/images/marker-shadow.png differ diff --git a/resources/lang/en/outlet.php b/resources/lang/en/outlet.php index 86dcf85..18af16e 100644 --- a/resources/lang/en/outlet.php +++ b/resources/lang/en/outlet.php @@ -28,8 +28,10 @@ return [ 'undeleteable' => 'Outlet data cannot be deleted.', // Attributes - 'name' => 'Outlet Name', - 'address' => 'Outlet Address', - 'latitude' => 'Latitude', - 'longitude' => 'Longitude', + 'name' => 'Outlet Name', + 'address' => 'Outlet Address', + 'latitude' => 'Latitude', + 'longitude' => 'Longitude', + 'location' => 'Location', + 'coordinate' => 'Coordinate', ]; diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 47f604f..615791f 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -9,15 +9,13 @@ {{ config('app.name', 'Laravel') }} - - - + @yield('styles')
@@ -79,5 +77,8 @@ @yield('content')
+ + + @stack('scripts') diff --git a/resources/views/outlets/show.blade.php b/resources/views/outlets/show.blade.php index 9f11dce..13f7774 100644 --- a/resources/views/outlets/show.blade.php +++ b/resources/views/outlets/show.blade.php @@ -25,5 +25,53 @@ +
+
+
{{ trans('outlet.location') }}
+ @if ($outlet->coordinate) +
+ @else +
{{ __('outlet.no_coordinate') }}
+ @endif +
+
@endsection + +@section('styles') + + + +@endsection +@push('scripts') + + + + +@endpush