Skip to content

Firefly III: a personal finances manager

Fix https://github.com/firefly-iii/firefly-iii/issues/12782

James Cole478b066419d3
diff --git a/app/Http/Controllers/Account/ShowController.php b/app/Http/Controllers/Account/ShowController.php
index 3bf628e245..1cac33ffed 100644
--- a/app/Http/Controllers/Account/ShowController.php
+++ b/app/Http/Controllers/Account/ShowController.php
@@ -162,7 +162,6 @@ final class ShowController extends Controller
Log::debug('End collect transactions');
$timer->stop('collection');
$groups->setPath(route('accounts.show', [$account->id, $start->format('Y-m-d'), $end->format('Y-m-d')]));
- $showAll = false;
$now = now();
if ($now->gt($end) || $now->lt($start)) {
$now = $end;
@@ -174,7 +173,7 @@ final class ShowController extends Controller
return view('accounts.show', [
'account' => $account,
- 'showAll' => $showAll,
+ 'showAll' => false,
'objectType' => $objectType,
'currency' => $currency,
'today' => $today,
diff --git a/changelog.md b/changelog.md
index 7ce502c32c..11cf2551f8 100644
--- a/changelog.md
+++ b/changelog.md
@@ -3,6 +3,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
+## v6.7.3 - 2026-09-17
+
+### Changed
+- #12782
+
## v6.7.2 - 2026-09-16
### Changed
diff --git a/readme.md b/readme.md
index 0198537c3b..356fa28a16 100644
--- a/readme.md
+++ b/readme.md
@@ -55,7 +55,7 @@ If you don't feel like skipping to the end, here are several ways to run and/or
Commercial options also exist. First, a sponsored option:
-- A one-click installation is available at **[Hostinger](https://www.hostg.xyz/aff_c?offer_id=815&aff_id=243699)**
+- A one-click installation is available at **[Hostinger](https://www.hostg.xyz/aff_c?offer_id=815&aff_id=243699&url_id=6810)**
If you use any of Hostinger's paid options a small reward is paid to the developer of Firefly III.
@@ -99,7 +99,7 @@ Browser testing via TestMu AI:
<img src="https://raw.githubusercontent.com/firefly-iii/firefly-iii/develop/.github/assets/img/testmu.png" alt="TestMu AI" style="vertical-align: middle;" width="250" />
</a>
-Firefly III is also sponsored by [Hostinger](https://www.hostg.xyz/aff_c?offer_id=815&aff_id=243699) with a kickback program that pays me a small amount for every new customer that signs up for their hosting services. Consider using them if you do not want to self-host Firefly III.
+Firefly III is also sponsored by [Hostinger](https://www.hostg.xyz/aff_c?offer_id=815&aff_id=243699&url_id=6810) with a kickback program that pays me a small amount for every new customer that signs up for their hosting services. Consider using them if you do not want to self-host Firefly III.
## Do you need help, or do you want to get in touch?
diff --git a/resources/views/accounts/show.blade.php b/resources/views/accounts/show.blade.php
index 98ed535a41..52d874bdc0 100644
--- a/resources/views/accounts/show.blade.php
+++ b/resources/views/accounts/show.blade.php
@@ -62,7 +62,7 @@
</h3>
</div>
<div class="card-body p-0">
- <x-lists.attachments attachments="$attachments" />
+ <x-lists.attachments :attachments="$attachments" />
</div>
</div>
</div>
diff --git a/resources/views/components/lists/attachments.blade.php b/resources/views/components/lists/attachments.blade.php
index 24858f4caa..650d06183e 100644
--- a/resources/views/components/lists/attachments.blade.php
+++ b/resources/views/components/lists/attachments.blade.php
@@ -1,44 +1,47 @@
<table class="table table-responsive table-hover table-sm">
@foreach($attachments as $attachment)
- <tr>
- <td class="onetwenty">
- <div class="btn-group btn-group-sm">
- <a href="{{ route('attachments.edit', $attachment['id']) }}?_from={{ urlencode($FF3_FROM) }}" class="btn btn-outline-secondary"><span class="bi bi-pencil"></span></a>
- <a href="{{ route('attachments.delete', $attachment['id']) }}?_from={{ urlencode($FF3_FROM) }}" class="btn btn-danger"><span class="bi bi-trash"></span></a>
+ <tr>
+ <td class="onetwenty">
+ <div class="btn-group btn-group-sm">
+ <a href="{{ route('attachments.edit', $attachment['id']) }}?_from={{ urlencode($FF3_FROM) }}" class="btn btn-outline-secondary"><span class="bi bi-pencil"></span></a>
+ <a href="{{ route('attachments.delete', $attachment['id']) }}?_from={{ urlencode($FF3_FROM) }}" class="btn btn-danger"><span class="bi bi-trash"></span></a>
+ @if($attachment['file_exists'])
+ <a href="{{ route('attachments.download', $attachment['id']) }}" class="btn btn-outline-secondary"><span class="bi bi-download"></span></a>
+ @endif
+ @if(!$attachment['file_exists'])
+ <a href="#" class="btn btn-danger"><span class="bi bi-exclamation-triangle"></span></a>
+ @endif
+ </div>
+ </td>
+ <td>
@if($attachment['file_exists'])
- <a href="{{ route('attachments.download', $attachment['id']) }}" class="btn btn-outline-secondary"><span class="bi bi-download"></span></a>
+ <span class="bi {{ mime_icon($attachment['mime']) }}"></span>
+ <a href="{{ route('attachments.view', $attachment['id']) }}" title="{{ $attachment['filename'] }}">
+ @if($attachment['title'])
+ {{ $attachment['title'] }}
+ @else
+ {{ $attachment['filename'] }}
+ @endif
+ </a>
+ ({{ print_nice_filesize($attachment['size']) }})
+ @if(is_array($attachment) && array_key_exists('notes_text', $attachment) && '' !== (string)$attachment['notes_text'])
+ {!! parse_markdown($attachment['notes_text']) !!}
+ @endif
+ @if(!is_array($attachment) && '' !== (string)$attachment['notes_text'])
+ {!! parse_markdown($attachment['notes_text']) !!}
+ @endif
@endif
@if(!$attachment['file_exists'])
- <a href="#" class="btn btn-danger"><span class="bi bi-exclamation-triangle"></span></a>
- @endif
- </div>
- </td>
- <td>
- @if($attachment['file_exists'])
- <span class="bi {{ mime_icon($attachment['mime']) }}"></span>
- <a href="{{ route('attachments.view', $attachment['id']) }}" title="{{ $attachment['filename'] }}">
+ <span class="bi bi-exclamation-triangle"></span>
@if($attachment['title'])
{{ $attachment['title'] }}
@else
{{ $attachment['filename'] }}
@endif
- </a>
- ({{ print_nice_filesize($attachment['size']) }})
- @if(array_key_exists('notes_text', $attachment) && '' !== (string)$attachment['notes_text'])
- {!! parse_markdown($attachment['notes_text']) !!}
- @endif
- @endif
- @if(!$attachment['file_exists'])
- <span class="bi bi-exclamation-triangle"></span>
- @if($attachment['title'])
- {{ $attachment['title'] }}
- @else
- {{ $attachment['filename'] }}
+ <br>
+ <span class="text-danger">{{ __('firefly.attachment_not_found') }}</span>
@endif
- <br>
- <span class="text-danger">{{ __('firefly.attachment_not_found') }}</span>
- @endif
- </td>
- </tr>
+ </td>
+ </tr>
@endforeach
</table>