diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php index bd398ea084..251fd8d21d 100644 --- a/app/Http/Controllers/AccountController.php +++ b/app/Http/Controllers/AccountController.php @@ -490,7 +490,7 @@ class AccountController extends BaseController } $labels = []; - foreach (['item', 'description', 'unit_cost', 'quantity'] as $field) { + foreach (['item', 'description', 'unit_cost', 'quantity', 'line_total'] as $field) { $labels[$field] = trim(Input::get("labels_{$field}")); } $account->invoice_labels = json_encode($labels); diff --git a/app/Http/routes.php b/app/Http/routes.php index c41770d8c1..fa7e856147 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -391,7 +391,7 @@ if (!defined('CONTACT_EMAIL')) { define('NINJA_GATEWAY_CONFIG', 'NINJA_GATEWAY_CONFIG'); define('NINJA_WEB_URL', 'https://www.invoiceninja.com'); define('NINJA_APP_URL', 'https://app.invoiceninja.com'); - define('NINJA_VERSION', '2.4.2'); + define('NINJA_VERSION', '2.4.3'); define('NINJA_DATE', '2000-01-01'); define('NINJA_FROM_EMAIL', 'maildelivery@invoiceninja.com'); diff --git a/app/Models/Account.php b/app/Models/Account.php index 067ba6d29c..bbfba12894 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -26,8 +26,8 @@ class Account extends Eloquent ]; public static $advancedSettings = [ - ACCOUNT_INVOICE_DESIGN, ACCOUNT_INVOICE_SETTINGS, + ACCOUNT_INVOICE_DESIGN, ACCOUNT_TEMPLATES_AND_REMINDERS, ACCOUNT_CHARTS_AND_REPORTS, ACCOUNT_DATA_VISUALIZATIONS, diff --git a/resources/lang/da/texts.php b/resources/lang/da/texts.php index 98f6661327..71258403c6 100644 --- a/resources/lang/da/texts.php +++ b/resources/lang/da/texts.php @@ -822,4 +822,9 @@ 'gateways' => 'Payment Gateways', 'recurring_too_soon' => 'Det er for tidligt at generere den næste faktura, it\'s scheduled for :date', + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', + ); diff --git a/resources/lang/de/texts.php b/resources/lang/de/texts.php index ce842ad950..3c92476a31 100644 --- a/resources/lang/de/texts.php +++ b/resources/lang/de/texts.php @@ -822,5 +822,10 @@ return array( 'gateways' => 'Payment Gateways', 'recurring_too_soon' => 'Es ist zu früh, um die nächste wiederkehrende Rechnung zu erstellen, it\'s scheduled for :date', + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', + ); diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 42491eb90a..e2678426c2 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -789,7 +789,7 @@ return array( 'referral_program' => 'Referral Program', 'referral_code' => 'Referral Code', - 'last_sent_on' => 'Sent last: :date', + 'last_sent_on' => 'Sent Last: :date', 'page_expire' => 'This page will expire soon, :click_here to keep working', 'upcoming_quotes' => 'Upcoming Quotes', @@ -822,7 +822,7 @@ return array( 'pro' => 'Pro', 'gateways' => 'Payment Gateways', - 'next_send_on' => 'Send next: :date', + 'next_send_on' => 'Send Next: :date', 'no_longer_running' => 'This invoice is not scheduled to run', 'general_settings' => 'General Settings', 'customize' => 'Customize', diff --git a/resources/lang/es/texts.php b/resources/lang/es/texts.php index b064c8922e..4f350af3fa 100644 --- a/resources/lang/es/texts.php +++ b/resources/lang/es/texts.php @@ -800,5 +800,10 @@ return array( 'gateways' => 'Payment Gateways', 'recurring_too_soon' => 'Es my pronto para crear la siguiente factura recurrente, it\'s scheduled for :date', + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', + ); diff --git a/resources/lang/es_ES/texts.php b/resources/lang/es_ES/texts.php index 175234b105..95ef2b5ca6 100644 --- a/resources/lang/es_ES/texts.php +++ b/resources/lang/es_ES/texts.php @@ -821,4 +821,9 @@ return array( 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', + ); diff --git a/resources/lang/fr/texts.php b/resources/lang/fr/texts.php index bdf65778e6..fc19c119d7 100644 --- a/resources/lang/fr/texts.php +++ b/resources/lang/fr/texts.php @@ -814,5 +814,10 @@ return array( 'gateways' => 'Payment Gateways', 'recurring_too_soon' => 'Il est trop tôt pour créer la prochaine facture récurrente, it\'s scheduled for :date', + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', + ); diff --git a/resources/lang/fr_CA/texts.php b/resources/lang/fr_CA/texts.php index 7810ef9f5b..1b0e7d8228 100644 --- a/resources/lang/fr_CA/texts.php +++ b/resources/lang/fr_CA/texts.php @@ -815,5 +815,10 @@ return array( 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', + ); diff --git a/resources/lang/it/texts.php b/resources/lang/it/texts.php index cee9bb05d5..916f78bc82 100644 --- a/resources/lang/it/texts.php +++ b/resources/lang/it/texts.php @@ -816,5 +816,10 @@ return array( 'basic_settings' => 'Basic Settings', 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', ); diff --git a/resources/lang/lt/texts.php b/resources/lang/lt/texts.php index 09f4e7084f..c93e6d9a91 100644 --- a/resources/lang/lt/texts.php +++ b/resources/lang/lt/texts.php @@ -823,6 +823,11 @@ return array( 'basic_settings' => 'Basic Settings', 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', ); diff --git a/resources/lang/nb_NO/texts.php b/resources/lang/nb_NO/texts.php index 90d4c92177..36ad7c3aa8 100644 --- a/resources/lang/nb_NO/texts.php +++ b/resources/lang/nb_NO/texts.php @@ -821,5 +821,10 @@ return array( 'basic_settings' => 'Basic Settings', 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', ); \ No newline at end of file diff --git a/resources/lang/nl/texts.php b/resources/lang/nl/texts.php index e36ae44d14..bacb5e9d32 100644 --- a/resources/lang/nl/texts.php +++ b/resources/lang/nl/texts.php @@ -816,5 +816,10 @@ return array( 'pro' => 'Pro', 'gateways' => 'Payment Gateways', 'recurring_too_soon' => 'Het is te vroeg om de volgende wederkerende factuur aan te maken, it\'s scheduled for :date', + + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', ); diff --git a/resources/lang/pt_BR/texts.php b/resources/lang/pt_BR/texts.php index e7e86e20f3..562a3190ed 100644 --- a/resources/lang/pt_BR/texts.php +++ b/resources/lang/pt_BR/texts.php @@ -816,5 +816,10 @@ return array( 'basic_settings' => 'Basic Settings', 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', ); diff --git a/resources/lang/sv/texts.php b/resources/lang/sv/texts.php index f1fa93425a..ed06fa1c89 100644 --- a/resources/lang/sv/texts.php +++ b/resources/lang/sv/texts.php @@ -819,5 +819,10 @@ return array( 'basic_settings' => 'Basic Settings', 'pro' => 'Pro', 'gateways' => 'Payment Gateways', + + 'next_send_on' => 'Send Next: :date', + 'no_longer_running' => 'This invoice is not scheduled to run', + 'general_settings' => 'General Settings', + 'customize' => 'Customize', ); diff --git a/resources/views/accounts/customize_design.blade.php b/resources/views/accounts/customize_design.blade.php index 4e829edd70..07b88de197 100644 --- a/resources/views/accounts/customize_design.blade.php +++ b/resources/views/accounts/customize_design.blade.php @@ -153,16 +153,14 @@