mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
Check registered in upgrade modal
This commit is contained in:
parent
b371c03f80
commit
efd2f24102
@ -65,7 +65,10 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function showUpgradeModal() {
|
function showUpgradeModal() {
|
||||||
@if ( ! Auth::check() || ! Auth::user()->confirmed)
|
@if ( ! Auth::check() || ! Auth::user()->registered)
|
||||||
|
swal("{!! trans('texts.please_register') !!}");
|
||||||
|
return;
|
||||||
|
@elseif ( ! Auth::check() || ! Auth::user()->confirmed)
|
||||||
swal("{!! trans('texts.confirmation_required') !!}");
|
swal("{!! trans('texts.confirmation_required') !!}");
|
||||||
return;
|
return;
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user