mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 01:54:29 -04:00
Bug fixes
This commit is contained in:
parent
7364dcf8fc
commit
7b6e2086eb
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,6 +18,7 @@
|
||||
/ninja.sublime-workspace
|
||||
/tests/_log
|
||||
.env.development.php
|
||||
.env.php
|
||||
.idea
|
||||
.project
|
||||
/nbproject/private/
|
@ -64,7 +64,7 @@ class AccountController extends \BaseController
|
||||
Auth::login($user, true);
|
||||
Event::fire('user.login');
|
||||
|
||||
return Redirect::to('invoices/create');
|
||||
return Redirect::to('invoices/create')->with('sign_up', Input::get('sign_up'));
|
||||
}
|
||||
|
||||
public function enableProPlan()
|
||||
|
@ -16,6 +16,9 @@ class DashboardController extends \BaseController
|
||||
->leftJoin('invoices', 'clients.id', '=', 'invoices.client_id')
|
||||
->where('accounts.id', '=', Auth::user()->account_id)
|
||||
->where('clients.is_deleted', '=', false)
|
||||
->where('invoices.is_deleted', '=', false)
|
||||
->where('invoices.is_recurring', '=', false)
|
||||
->where('invoices.is_quote', '=', false)
|
||||
->groupBy('accounts.id')
|
||||
->first();
|
||||
|
||||
|
@ -113,7 +113,7 @@ class HomeController extends BaseController
|
||||
public function invoiceNow()
|
||||
{
|
||||
if (Auth::check()) {
|
||||
return Redirect::to('invoices/create');
|
||||
return Redirect::to('invoices/create')->with('sign_up', Input::get('sign_up'));
|
||||
} else {
|
||||
return View::make('public.header', ['invoiceNow' => true]);
|
||||
}
|
||||
|
@ -587,6 +587,8 @@ Want something changed? We're {{ link_to('https://github.com/hillelcoren/invoice
|
||||
@if (Auth::check() && !Utils::isNinja() && !Auth::user()->registered)
|
||||
$('#closeSignUpButton').hide();
|
||||
showSignUp();
|
||||
@elseif(Session::get('sign_up') || Input::get('sign_up'))
|
||||
showSignUp();
|
||||
@endif
|
||||
|
||||
@yield('onReady')
|
||||
|
@ -51,6 +51,7 @@
|
||||
|
||||
{{ Form::open(array('url' => 'get_started', 'id' => 'startForm')) }}
|
||||
{{ Form::hidden('guest_key') }}
|
||||
{{ Form::hidden('sign_up', Input::get('sign_up')) }}
|
||||
{{ Form::close() }}
|
||||
|
||||
<script>
|
||||
|
@ -2879,3 +2879,18 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2);
|
||||
.plans-table .cell .cta {margin-bottom: 0 !important;}
|
||||
.plans-table .pro {margin-top: 40px;}
|
||||
}
|
||||
|
||||
/* https://github.com/twbs/bootstrap/issues/13984 */
|
||||
.radio input[type="radio"],
|
||||
.checkbox input[type="checkbox"] {
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
height: inherit;
|
||||
width: inherit;
|
||||
/* bootstrap 3.2.0 fix */
|
||||
float: left;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-top: 3px;
|
||||
min-height: 30px;
|
||||
}
|
@ -771,3 +771,18 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2);
|
||||
.plans-table .cell .cta {margin-bottom: 0 !important;}
|
||||
.plans-table .pro {margin-top: 40px;}
|
||||
}
|
||||
|
||||
/* https://github.com/twbs/bootstrap/issues/13984 */
|
||||
.radio input[type="radio"],
|
||||
.checkbox input[type="checkbox"] {
|
||||
margin-left: 0;
|
||||
margin-right: 5px;
|
||||
height: inherit;
|
||||
width: inherit;
|
||||
/* bootstrap 3.2.0 fix */
|
||||
float: left;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin-top: 3px;
|
||||
min-height: 30px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user