1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/config/ninja.php
2019-01-30 22:25:07 +11:00

77 lines
2.9 KiB
PHP

<?php
return [
// invoice locking feature
'lock_sent_invoices' => env('LOCK_SENT_INVOICES'),
// Currency exchange rates
'exchange_rates_enabled' => env('EXCHANGE_RATES_ENABLED', false),
'exchange_rates_url' => env('EXCHANGE_RATES_URL', 'http://data.fixer.io/api/latest?access_key={apiKey}'),
'exchange_rates_api_key' => env('EXCHANGE_RATES_API_KEY', false),
'exchange_rates_base' => env('EXCHANGE_RATES_BASE', 'EUR'),
// Cookie consent
'cookie_consent' => [
'enabled' => env('COOKIE_CONSENT_ENABLED', true),
'link' => env('COOKIE_CONSENT_LINK', 'https://cookiesandyou.com/'),
'message' => env('COOKIE_CONSENT_MESSAGE', ''),
],
// Google maps
'google_maps_enabled' => env('GOOGLE_MAPS_ENABLED', true),
'google_maps_api_key' => env('GOOGLE_MAPS_API_KEY', ''),
// Voice commands
'voice_commands' => [
'app_id' => env('MSBOT_LUIS_APP_ID', 'ea1cda29-5994-47c4-8c25-2b58ae7ae7a8'),
'subscription_key' => env('MSBOT_LUIS_SUBSCRIPTION_KEY'),
],
// Settings used by invoiceninja.com
'video_urls' => [
'all' => env('NINJA_VIDEOS_URL', 'https://www.youtube.com/channel/UCXAHcBvhW05PDtWYIq7WDFA/videos'),
'custom_design' => env('NINJA_VIDEOS_CUSTOM_DESIGN_URL', 'https://www.youtube.com/watch?v=pXQ6jgiHodc'),
'getting_started' => env('NINJA_VIDEOS_GETTING_STARTED_URL', 'https://www.youtube.com/watch?v=i7fqfi5HWeo'),
],
'time_tracker_web_url' => env('TIME_TRACKER_WEB_URL', 'https://www.invoiceninja.com/time-tracker'),
'knowledge_base_url' => env('KNOWLEDGE_BASE_URL', 'https://www.invoiceninja.com/knowledge-base/'),
'coupon_50_off' => env('COUPON_50_OFF', false),
'coupon_75_off' => env('COUPON_75_OFF', false),
'coupon_free_year' => env('COUPON_FREE_YEAR', false),
'terms_of_service_url' => [
'hosted' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/terms/'),
'selfhost' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/self-hosting-terms-service/'),
],
'privacy_policy_url' => [
'hosted' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/privacy-policy/'),
'selfhost' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/self-hosting-privacy-data-control/'),
],
// Google maps
'google_maps_enabled' => env('GOOGLE_MAPS_ENABLED', true),
'google_maps_api_key' => env('GOOGLE_MAPS_API_KEY', ''),
// Voice commands
'voice_commands' => [
'app_id' => env('MSBOT_LUIS_APP_ID', 'ea1cda29-5994-47c4-8c25-2b58ae7ae7a8'),
'subscription_key' => env('MSBOT_LUIS_SUBSCRIPTION_KEY'),
],
//Tickets
'tickets' => [
'ticket_support_domain' => env('TICKET_SUPPORT_DOMAIN',''),
'ticket_support_domain_2' => env('TICKET_SUPPORT_DOMAIN_2',''),
],
'multi_db_enabled' => env('MULTI_DB_ENABLED', false),
'scout_driver' => env('SCOUT_DRIVER'),
];