Skip to content

Firefly III: a personal finances manager

Fix #12894

James Coleb283764dc002
diff --git a/resources/views/components/transaction/split.blade.php b/resources/views/components/transaction/split.blade.php
index c0033b301f..e7c5da225c 100644
--- a/resources/views/components/transaction/split.blade.php
+++ b/resources/views/components/transaction/split.blade.php
@@ -98,7 +98,9 @@
@include('partials.form.transaction.external-url')
<!-- LOCATION -->
- @include('partials.form.transaction.location')
+ @if(true === get_app_configuration('enable_external_map', false))
+ @include('partials.form.transaction.location')
+ @endif
<!-- DATE FIELDS -->
@include('partials.form.transaction.date-fields')
diff --git a/resources/views/transactions/show.blade.php b/resources/views/transactions/show.blade.php
index c12377080f..7f2b23b818 100644
--- a/resources/views/transactions/show.blade.php
+++ b/resources/views/transactions/show.blade.php
@@ -385,7 +385,7 @@
</td>
</tr>
@endif
- @if(null !== $journal['location']['latitude'])
+ @if(true === get_app_configuration('enable_external_map', false) && null !== $journal['location']['latitude'])
<tr>
<td class="w-30"> {{ __('firefly.location') }}</td>
<td>