mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Nutcache import #1588
This commit is contained in:
parent
ae20490dc8
commit
4bf495542f
@ -2388,6 +2388,7 @@ $LANG = array(
|
||||
'currency_myanmar_kyat' => 'Myanmar Kyat',
|
||||
'currency_peruvian_sol' => 'Peruvian Sol',
|
||||
|
||||
'use_english_version' => 'Make sure to use the English version of the files.<br/>We use the column headers to match the fields.',
|
||||
|
||||
);
|
||||
|
||||
|
@ -45,9 +45,14 @@
|
||||
trans('texts.settings') => 'settings',
|
||||
]) !!}
|
||||
</div>
|
||||
<div id="inovicePlaneImport" style="display:none"><center>
|
||||
{!! trans('texts.invoiceplane_import', ['link' => link_to(INVOICEPLANE_IMPORT, 'turbo124/Plane2Ninja', ['target' => '_blank'])]) !!}
|
||||
</center></div>
|
||||
|
||||
<div id="notInovicePlaneImport">
|
||||
{!! Former::plaintext(' ')->help(trans('texts.use_english_version')) !!}
|
||||
</div>
|
||||
<div id="inovicePlaneImport" style="display:none">
|
||||
{!! Former::plaintext(' ')->help(trans('texts.invoiceplane_import', ['link' => link_to(INVOICEPLANE_IMPORT, 'turbo124/Plane2Ninja', ['target' => '_blank'])])) !!}
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
{!! Former::actions( Button::info(trans('texts.upload'))->withAttributes(['id' => 'uploadButton'])->submit()->large()->appendIcon(Icon::create('open'))) !!}
|
||||
@ -163,12 +168,18 @@
|
||||
$('.JSON-file').show();
|
||||
}
|
||||
@endif
|
||||
if (val === '{{ IMPORT_INVOICEPLANE }}') {
|
||||
if (val === '{{ IMPORT_JSON }}') {
|
||||
$('#uploadButton').show();
|
||||
$('#inovicePlaneImport').hide();
|
||||
$('#notInovicePlaneImport').hide();
|
||||
} else if (val === '{{ IMPORT_INVOICEPLANE }}') {
|
||||
$('#uploadButton').hide();
|
||||
$('#inovicePlaneImport').show();
|
||||
$('#notInovicePlaneImport').hide();
|
||||
} else {
|
||||
$('#uploadButton').show();
|
||||
$('#inovicePlaneImport').hide();
|
||||
$('#notInovicePlaneImport').show();
|
||||
}
|
||||
@endforeach
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user