mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Bug fixes
This commit is contained in:
parent
df88339119
commit
d34ed74863
@ -725,10 +725,16 @@ class AccountController extends BaseController
|
||||
{
|
||||
$affiliate = Affiliate::where('affiliate_key', '=', SELF_HOST_AFFILIATE_KEY)->first();
|
||||
|
||||
$email = trim(Input::get('email'));
|
||||
|
||||
if (!$email || $email == 'user@example.com') {
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
$license = new License();
|
||||
$license->first_name = Input::get('first_name');
|
||||
$license->last_name = Input::get('last_name');
|
||||
$license->email = Input::get('email');
|
||||
$license->email = $email;
|
||||
$license->transaction_reference = Request::getClientIp();
|
||||
$license->license_key = Utils::generateLicense();
|
||||
$license->affiliate_id = $affiliate->id;
|
||||
@ -736,7 +742,7 @@ class AccountController extends BaseController
|
||||
$license->is_claimed = 1;
|
||||
$license->save();
|
||||
|
||||
return '';
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
public function cancelAccount()
|
||||
|
2
public/css/built.css
vendored
2
public/css/built.css
vendored
@ -3273,7 +3273,7 @@ button .glyphicon {
|
||||
background-color: #4b4b4b;
|
||||
padding-bottom: 40px;
|
||||
padding-right: 25px;
|
||||
/*opacity:0.96 !important;*/
|
||||
opacity:0.95 !important;
|
||||
}
|
||||
|
||||
.pro-plan-modal .left-side {
|
||||
|
2
public/css/style.css
vendored
2
public/css/style.css
vendored
@ -889,7 +889,7 @@ button .glyphicon {
|
||||
background-color: #4b4b4b;
|
||||
padding-bottom: 40px;
|
||||
padding-right: 25px;
|
||||
/*opacity:0.96 !important;*/
|
||||
opacity:0.95 !important;
|
||||
}
|
||||
|
||||
.pro-plan-modal .left-side {
|
||||
|
@ -391,11 +391,7 @@
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
@if (Session::get(SESSION_LOCALE) == 'en')
|
||||
{{ trans('texts.history') }} <b class="caret"></b>
|
||||
@else
|
||||
<span class="glyphicon glyphicon-time" title="{{ trans('texts.history') }}"/>
|
||||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
@if (count(Session::get(RECENTLY_VIEWED)) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user