mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-24 20:55:31 +00:00
Various fixes for sqlite databases
This commit is contained in:
@@ -1913,6 +1913,7 @@ return [
|
||||
'extension_date_is' => 'Extension date is {date}',
|
||||
|
||||
// accounts:
|
||||
'account_locked_currency' => 'The currency of this account must remain :name as long as piggy banks are linked to it.',
|
||||
'i_am_owed_amount' => 'I am owed amount',
|
||||
'i_owe_amount' => 'I owe amount',
|
||||
'inactive_account_link' => 'You have :count inactive (archived) account, which you can view on this separate page.|You have :count inactive (archived) accounts, which you can view on this separate page.',
|
||||
|
||||
@@ -27,9 +27,12 @@
|
||||
</div>
|
||||
<div class="box-body">
|
||||
{{ ExpandedForm.text('name', account.name) }}
|
||||
{% if account.accountType.type == 'Default account' or account.accountType.type == 'Asset account' or objectType == 'liabilities' %}
|
||||
{% if canEditCurrency and (account.accountType.type == 'Default account' or account.accountType.type == 'Asset account' or objectType == 'liabilities') %}
|
||||
{{ CurrencyForm.currencyList('currency_id', null, {helpText:'account_default_currency'|_}) }}
|
||||
|
||||
{% endif %}
|
||||
{% if not canEditCurrency and (account.accountType.type == 'Default account' or account.accountType.type == 'Asset account' or objectType == 'liabilities') %}
|
||||
<input type="hidden" name="currency_id" value="{{ currency.id }}"/>
|
||||
{{ ExpandedForm.staticText('currency_id', trans('firefly.account_locked_currency', {name: currency.name})) }}
|
||||
{% endif %}
|
||||
|
||||
{% if objectType == 'liabilities' %}
|
||||
|
||||
Reference in New Issue
Block a user