mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Added InvoicePlane import text
This commit is contained in:
parent
ad9035772d
commit
d71b073504
@ -162,6 +162,7 @@ if (! defined('APP_NAME')) {
|
||||
define('IMPORT_ZOHO', 'Zoho');
|
||||
define('IMPORT_NUTCACHE', 'Nutcache');
|
||||
define('IMPORT_INVOICEABLE', 'Invoiceable');
|
||||
define('IMPORT_INVOICEPLANE', 'InvoicePlane');
|
||||
define('IMPORT_HARVEST', 'Harvest');
|
||||
|
||||
define('MAX_NUM_CLIENTS', 100);
|
||||
@ -330,6 +331,7 @@ if (! defined('APP_NAME')) {
|
||||
define('MSBOT_LUIS_URL', 'https://westus.api.cognitive.microsoft.com/luis/v2.0/apps');
|
||||
define('SKYPE_API_URL', 'https://apis.skype.com/v3');
|
||||
define('MSBOT_STATE_URL', 'https://state.botframework.com/v3');
|
||||
define('INVOICEPLANE_IMPORT', 'https://github.com/turbo124/Plane2Ninja');
|
||||
|
||||
define('BOT_PLATFORM_WEB_APP', 'WebApp');
|
||||
define('BOT_PLATFORM_SKYPE', 'Skype');
|
||||
|
@ -99,6 +99,7 @@ class ImportService
|
||||
IMPORT_FRESHBOOKS,
|
||||
IMPORT_HIVEAGE,
|
||||
IMPORT_INVOICEABLE,
|
||||
IMPORT_INVOICEPLANE,
|
||||
IMPORT_NUTCACHE,
|
||||
IMPORT_RONIN,
|
||||
IMPORT_WAVE,
|
||||
|
@ -2249,7 +2249,8 @@ $LANG = array(
|
||||
'emailed_payment' => 'Successfully emailed payment',
|
||||
'email_payment' => 'Email Payment',
|
||||
'sent' => 'Sent',
|
||||
|
||||
'inoviceplane_import' => 'Use :link to migrate your data from InvoicePlane.',
|
||||
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
@ -45,6 +45,9 @@
|
||||
trans('texts.settings') => 'settings',
|
||||
]) !!}
|
||||
</div>
|
||||
<div id="inovicePlaneImport" style="display:none"><center>
|
||||
{!! trans('texts.inoviceplane_import', ['link' => link_to(INVOICEPLANE_IMPORT, 'turbo124/Plane2Ninja', ['target' => '_blank'])]) !!}
|
||||
</center></div>
|
||||
<br/>
|
||||
|
||||
{!! Former::actions( Button::info(trans('texts.upload'))->withAttributes(['id' => 'uploadButton'])->submit()->large()->appendIcon(Icon::create('open'))) !!}
|
||||
@ -160,6 +163,13 @@
|
||||
$('.JSON-file').show();
|
||||
}
|
||||
@endif
|
||||
if (val === '{{ IMPORT_INVOICEPLANE }}') {
|
||||
$('#uploadButton').hide();
|
||||
$('#inovicePlaneImport').show();
|
||||
} else {
|
||||
$('#uploadButton').show();
|
||||
$('#inovicePlaneImport').hide();
|
||||
}
|
||||
@endforeach
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user