mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 12:15:55 +00:00
First code for file import.
This commit is contained in:
@@ -54,6 +54,7 @@ return [
|
||||
'status_bread_crumb' => 'Import status',
|
||||
'status_sub_title' => 'Import status',
|
||||
'config_sub_title' => 'Set up your import',
|
||||
'import_config_bread_crumb' => 'Import configuration',
|
||||
'status_finished_job' => 'The :count transactions imported can be found in tag <a href=":link" class="label label-success" style="font-size:100%;font-weight:normal;">:tag</a>.',
|
||||
'status_finished_no_tag' => 'Firefly III has not collected any transactions from your import file.',
|
||||
'import_with_key' => 'Import with key \':key\'',
|
||||
@@ -63,7 +64,7 @@ return [
|
||||
'file_upload_title' => 'Import setup (1/4) - Upload your file',
|
||||
'file_upload_text' => 'This routine will help you import files from your bank into Firefly III. Please check out the help pages in the top right corner.',
|
||||
'file_upload_fields' => 'Fields',
|
||||
'file_upload_help' => 'Select your file',
|
||||
'file_upload_help' => 'Select your file. Please make sure the file is UTF-8 encoded.',
|
||||
'file_upload_config_help' => 'If you have previously imported data into Firefly III, you may have a configuration file, which will pre-set configuration values for you. For some banks, other users have kindly provided their <a href="https://github.com/firefly-iii/import-configurations/wiki">configuration file</a>',
|
||||
'file_upload_type_help' => 'Select the type of file you will upload',
|
||||
'file_upload_submit' => 'Upload files',
|
||||
|
||||
56
resources/views/import/fake/apply-rules.twig
Normal file
56
resources/views/import/fake/apply-rules.twig
Normal file
@@ -0,0 +1,56 @@
|
||||
{% extends "./layout/default" %}
|
||||
|
||||
{% block breadcrumbs %}
|
||||
{{ Breadcrumbs.render }}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Rules</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<p>
|
||||
Should apply rules?
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('import.job.configuration.post', importJob.key) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Fields be here.</h3>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
<select name="apply-rules">
|
||||
<option value="1">yes</option>
|
||||
<option value="0">no</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="box">
|
||||
<div class="box-body">
|
||||
<button type="submit" class="btn btn-success pull-right">
|
||||
Submit it!
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
{% block scripts %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
{% endblock %}
|
||||
@@ -20,7 +20,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form method="POST" action="{{ route('import.configure.post', job.key) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<form method="POST" action="{{ route('import.job.configuration.post', [importJob.key]) }}" accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||
<input name="_token" type="hidden" value="{{ csrf_token() }}">
|
||||
<input type="hidden" name="settings" value="upload"/>
|
||||
|
||||
Reference in New Issue
Block a user