mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 08:30:56 -04: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_ZOHO', 'Zoho');
|
||||||
define('IMPORT_NUTCACHE', 'Nutcache');
|
define('IMPORT_NUTCACHE', 'Nutcache');
|
||||||
define('IMPORT_INVOICEABLE', 'Invoiceable');
|
define('IMPORT_INVOICEABLE', 'Invoiceable');
|
||||||
|
define('IMPORT_INVOICEPLANE', 'InvoicePlane');
|
||||||
define('IMPORT_HARVEST', 'Harvest');
|
define('IMPORT_HARVEST', 'Harvest');
|
||||||
|
|
||||||
define('MAX_NUM_CLIENTS', 100);
|
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('MSBOT_LUIS_URL', 'https://westus.api.cognitive.microsoft.com/luis/v2.0/apps');
|
||||||
define('SKYPE_API_URL', 'https://apis.skype.com/v3');
|
define('SKYPE_API_URL', 'https://apis.skype.com/v3');
|
||||||
define('MSBOT_STATE_URL', 'https://state.botframework.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_WEB_APP', 'WebApp');
|
||||||
define('BOT_PLATFORM_SKYPE', 'Skype');
|
define('BOT_PLATFORM_SKYPE', 'Skype');
|
||||||
|
@ -99,6 +99,7 @@ class ImportService
|
|||||||
IMPORT_FRESHBOOKS,
|
IMPORT_FRESHBOOKS,
|
||||||
IMPORT_HIVEAGE,
|
IMPORT_HIVEAGE,
|
||||||
IMPORT_INVOICEABLE,
|
IMPORT_INVOICEABLE,
|
||||||
|
IMPORT_INVOICEPLANE,
|
||||||
IMPORT_NUTCACHE,
|
IMPORT_NUTCACHE,
|
||||||
IMPORT_RONIN,
|
IMPORT_RONIN,
|
||||||
IMPORT_WAVE,
|
IMPORT_WAVE,
|
||||||
|
@ -2249,6 +2249,7 @@ $LANG = array(
|
|||||||
'emailed_payment' => 'Successfully emailed payment',
|
'emailed_payment' => 'Successfully emailed payment',
|
||||||
'email_payment' => 'Email Payment',
|
'email_payment' => 'Email Payment',
|
||||||
'sent' => 'Sent',
|
'sent' => 'Sent',
|
||||||
|
'inoviceplane_import' => 'Use :link to migrate your data from InvoicePlane.',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -45,6 +45,9 @@
|
|||||||
trans('texts.settings') => 'settings',
|
trans('texts.settings') => 'settings',
|
||||||
]) !!}
|
]) !!}
|
||||||
</div>
|
</div>
|
||||||
|
<div id="inovicePlaneImport" style="display:none"><center>
|
||||||
|
{!! trans('texts.inoviceplane_import', ['link' => link_to(INVOICEPLANE_IMPORT, 'turbo124/Plane2Ninja', ['target' => '_blank'])]) !!}
|
||||||
|
</center></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'))) !!}
|
||||||
@ -160,6 +163,13 @@
|
|||||||
$('.JSON-file').show();
|
$('.JSON-file').show();
|
||||||
}
|
}
|
||||||
@endif
|
@endif
|
||||||
|
if (val === '{{ IMPORT_INVOICEPLANE }}') {
|
||||||
|
$('#uploadButton').hide();
|
||||||
|
$('#inovicePlaneImport').show();
|
||||||
|
} else {
|
||||||
|
$('#uploadButton').show();
|
||||||
|
$('#inovicePlaneImport').hide();
|
||||||
|
}
|
||||||
@endforeach
|
@endforeach
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user