diff --git a/.env.development.php b/.env.development.php index bfe98cf916..a3a31df7b4 100644 --- a/.env.development.php +++ b/.env.development.php @@ -4,5 +4,6 @@ return array( //'TAG_MANAGER_KEY' => '', //'ANALYTICS_KEY' => '', - + 'NINJA_PROD' => true, + ); diff --git a/app/controllers/PaymentController.php b/app/controllers/PaymentController.php index 29bc237c22..36a6a2f646 100755 --- a/app/controllers/PaymentController.php +++ b/app/controllers/PaymentController.php @@ -310,7 +310,7 @@ class PaymentController extends \BaseController } } - if (!Session::get('return_url') || !Session::get('affiliate_id')) + if (!Session::get('affiliate_id')) { return Utils::fatalError(); } @@ -428,7 +428,7 @@ class PaymentController extends \BaseController public function claim_license() { - $license = License::where('license_key', '=', Input::get('key')) + $license = License::where('license_key', '=', Input::get('license_key')) ->where('is_claimed', '=', false)->first(); if ($license) diff --git a/app/views/header.blade.php b/app/views/header.blade.php index de07dfa47d..d84b14aa20 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -325,7 +325,7 @@ Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice @if (Auth::check() && !Auth::user()->isPro())
We believe that the free version of Invoice Ninja is a truly awesome product loaded - with the key features you need to bill your clients electronically. But for those who - crave still more Ninja awesomeness, we've unmasked the Invoice Ninja Pro plan, which - offers more versatility, power and customization options for just $50 per year.
-We believe that the free version of Invoice Ninja is a truly awesome product loaded + with the key features you need to bill your clients electronically. But for those who + crave still more Ninja awesomeness, we've unmasked the Invoice Ninja Pro plan, which + offers more versatility, power and customization options for just $50 per year.
+
{{ Former::textarea('public_notes')->data_bind("value: wrapped_notes, valueUpdate: 'afterkeydown'") - ->label(false)->placeholder(trans('texts.note_to_client'))->style('width: 520px; resize: none') }} + ->label(false)->placeholder(trans('texts.note_to_client'))->style('resize: none') }} {{ Former::textarea('terms')->data_bind("value: wrapped_terms, valueUpdate: 'afterkeydown'") - ->label(false)->placeholder(trans('texts.invoice_terms'))->style('width: 520px; resize: none') + ->label(false)->placeholder(trans('texts.invoice_terms'))->style('resize: none') ->addGroupClass('less-space-bottom') }} |
Free /Always!
$50 /Year
Free /Always!
$50 /Year