mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:44:29 -04: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_myanmar_kyat' => 'Myanmar Kyat',
|
||||||
'currency_peruvian_sol' => 'Peruvian Sol',
|
'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',
|
trans('texts.settings') => 'settings',
|
||||||
]) !!}
|
]) !!}
|
||||||
</div>
|
</div>
|
||||||
<div id="inovicePlaneImport" style="display:none"><center>
|
|
||||||
{!! trans('texts.invoiceplane_import', ['link' => link_to(INVOICEPLANE_IMPORT, 'turbo124/Plane2Ninja', ['target' => '_blank'])]) !!}
|
<div id="notInovicePlaneImport">
|
||||||
</center></div>
|
{!! 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/>
|
<br/>
|
||||||
|
|
||||||
{!! Former::actions( Button::info(trans('texts.upload'))->withAttributes(['id' => 'uploadButton'])->submit()->large()->appendIcon(Icon::create('open'))) !!}
|
{!! Former::actions( Button::info(trans('texts.upload'))->withAttributes(['id' => 'uploadButton'])->submit()->large()->appendIcon(Icon::create('open'))) !!}
|
||||||
@ -163,12 +168,18 @@
|
|||||||
$('.JSON-file').show();
|
$('.JSON-file').show();
|
||||||
}
|
}
|
||||||
@endif
|
@endif
|
||||||
if (val === '{{ IMPORT_INVOICEPLANE }}') {
|
if (val === '{{ IMPORT_JSON }}') {
|
||||||
|
$('#uploadButton').show();
|
||||||
|
$('#inovicePlaneImport').hide();
|
||||||
|
$('#notInovicePlaneImport').hide();
|
||||||
|
} else if (val === '{{ IMPORT_INVOICEPLANE }}') {
|
||||||
$('#uploadButton').hide();
|
$('#uploadButton').hide();
|
||||||
$('#inovicePlaneImport').show();
|
$('#inovicePlaneImport').show();
|
||||||
|
$('#notInovicePlaneImport').hide();
|
||||||
} else {
|
} else {
|
||||||
$('#uploadButton').show();
|
$('#uploadButton').show();
|
||||||
$('#inovicePlaneImport').hide();
|
$('#inovicePlaneImport').hide();
|
||||||
|
$('#notInovicePlaneImport').show();
|
||||||
}
|
}
|
||||||
@endforeach
|
@endforeach
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user