mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 13:36:15 +00:00
Expand text and routine for YNAB
This commit is contained in:
@@ -171,6 +171,9 @@ return [
|
||||
'job_config_ynab_no_budgets' => 'There are no budgets available to be imported from.',
|
||||
'ynab_no_mapping' => 'It seems you have not selected any accounts to import from.',
|
||||
'job_config_ynab_bad_currency' => 'You cannot import from the following budget(s), because you do not have accounts with the same currency as these budgets.',
|
||||
'job_config_ynab_accounts_title' => 'Select accounts',
|
||||
'job_config_ynab_accounts_text' => 'You have the following accounts available in this budget. Please select from which accounts you want to import, and where the transactions should be stored.',
|
||||
|
||||
|
||||
// keys from "extra" array:
|
||||
'spectre_extra_key_iban' => 'IBAN',
|
||||
|
||||
@@ -104,6 +104,7 @@ return [
|
||||
'sum_transfers' => 'Sum of transfers',
|
||||
'reconcile' => 'Reconcile',
|
||||
'account_on_spectre' => 'Account (Spectre)',
|
||||
'account_on_ynab' => 'Account (YNAB)',
|
||||
'do_import' => 'Import from this account',
|
||||
'sepa-ct-id' => 'SEPA End to End Identifier',
|
||||
'sepa-ct-op' => 'SEPA Opposing Account Identifier',
|
||||
|
||||
@@ -11,21 +11,40 @@
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
<div class="box box-default">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ trans('import.job_config_select_budgets') }}</h3>
|
||||
<h3 class="box-title">{{ trans('import.job_config_ynab_select_budgets') }}</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<p>
|
||||
{{ trans('import.job_config_spectre_select_budgets_text', {count: data.budgets|length}) }}
|
||||
{{ trans('import.job_config_ynab_select_budgets_text', {count: data.total}) }}
|
||||
</p>
|
||||
{{ ExpandedForm.select('budget_id', data.budgets) }}
|
||||
{% if data.available|length == 0 %}
|
||||
<p class="text-danger">
|
||||
{{ trans('import.job_config_ynab_no_budgets') }}
|
||||
</p>
|
||||
{% else %}
|
||||
{{ ExpandedForm.select('budget_id', data.available) }}
|
||||
{% endif %}
|
||||
|
||||
{% if data.not_available|length > 0 %}
|
||||
<p class="text-warning">
|
||||
{{ trans('import.job_config_ynab_bad_currency') }}
|
||||
</p>
|
||||
<ul>
|
||||
{% for budget in data.not_available %}
|
||||
<li>{{ budget }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
{% if data.available|length != 0 %}
|
||||
<button type="submit" class="btn pull-right btn-success">
|
||||
{{ ('submit')|_ }}
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user