diff --git a/app/Constants.php b/app/Constants.php index 8bebd8de8bea..ee974db2ebcb 100644 --- a/app/Constants.php +++ b/app/Constants.php @@ -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'); diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php index 952b0865f5b2..48b32e6dd0d9 100644 --- a/app/Services/ImportService.php +++ b/app/Services/ImportService.php @@ -99,6 +99,7 @@ class ImportService IMPORT_FRESHBOOKS, IMPORT_HIVEAGE, IMPORT_INVOICEABLE, + IMPORT_INVOICEPLANE, IMPORT_NUTCACHE, IMPORT_RONIN, IMPORT_WAVE, diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index b8b0a9d74d4c..d971ac8ca07b 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -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; diff --git a/resources/views/accounts/import_export.blade.php b/resources/views/accounts/import_export.blade.php index 76f936ccd81a..bdeacb076f48 100644 --- a/resources/views/accounts/import_export.blade.php +++ b/resources/views/accounts/import_export.blade.php @@ -45,6 +45,9 @@ trans('texts.settings') => 'settings', ]) !!} +