Merge pull request #10328 from firefly-iii/fix-10290

Fix #10290
This commit is contained in:
James Cole
2025-05-22 06:03:05 +02:00
committed by GitHub
2 changed files with 11 additions and 3 deletions

View File

@@ -2131,7 +2131,7 @@ return [
'bulk_edit' => 'Edit selected in bulk',
'mass_delete' => 'Delete selected',
'cannot_edit_other_fields' => 'You cannot mass-edit other fields than the ones here, because there is no room to show them. Please follow the link and edit them by one-by-one, if you need to edit these fields.',
'cannot_change_amount_reconciled' => 'You can\'t change the amount of reconciled transactions.',
'cannot_change_amount_reconciled' => 'You can\'t change the amount or account(s) of reconciled transactions.',
'no_budget' => '(no budget)',
'no_bill' => '(no subscription)',
'account_per_budget' => 'Account per budget',

View File

@@ -98,7 +98,10 @@
<!-- Source: {{ journal.source_account_name }} ({{ journal.source_account_id }}) -->
<!-- Destination: {{ journal.destination_account_name }} ({{ journal.destination_account_id }}) -->
<td style="position: relative;">
{% if journal.reconciled == true %}
<a href="{{ route('accounts.show', [journal.source_account_id]) }}">{{ journal.source_account_name }}</a>
{% endif %}
{% if journal.reconciled == false %}
{# SOURCE ACCOUNT ID FOR TRANSFER OR WITHDRAWAL #}
{% if journal.transaction_type_type == 'Transfer' or journal.transaction_type_type == 'Withdrawal' %}
<select class="form-control input-sm" name="source_id[{{ journal.transaction_journal_id }}]">
@@ -117,9 +120,13 @@
name="source_name[{{ journal.transaction_journal_id }}]" type="text"
value="{% if journal.source_type != 'Cash account' %}{{ journal.source_account_name }}{% endif %}">
{% endif %}
{% endif %}
</td>
<td style="position: relative;">
{% if journal.reconciled == true %}
<a href="{{ route('accounts.show', [journal.destination_account_id]) }}">{{ journal.destination_account_name }}</a>
{% endif %}
{% if journal.reconciled == false %}
{# DESTINATION ACCOUNT NAME FOR TRANSFER AND DEPOSIT #}
{% if journal.transaction_type_type == 'Transfer' or journal.transaction_type_type == 'Deposit' %}
@@ -138,6 +145,7 @@
name="destination_name[{{ journal.transaction_journal_id }}]" type="text" autocomplete="off"
value="{% if journal.destination_type != 'Cash account' %}{{ journal.destination_account_name }}{% endif %}">
{% endif %}
{% endif %}
</td>
{# category #}
<td style="position: relative;">