diff --git a/app/models/LicenseSeat.php b/app/models/LicenseSeat.php
index 3fe22b7f98..cb86bee5c6 100644
--- a/app/models/LicenseSeat.php
+++ b/app/models/LicenseSeat.php
@@ -11,7 +11,7 @@ class LicenseSeat extends Elegant {
public function user()
{
- return $this->belongsTo('User','assigned_to');
+ return $this->belongsTo('User','assigned_to')->withTrashed();
}
}
\ No newline at end of file
diff --git a/app/views/backend/licenses/index.blade.php b/app/views/backend/licenses/index.blade.php
index abc522841d..2a32b2d35b 100755
--- a/app/views/backend/licenses/index.blade.php
+++ b/app/views/backend/licenses/index.blade.php
@@ -62,10 +62,12 @@ Licenses ::
{{ $license->serial }} |
- @if ($licensedto->assigned_to)
+ @if (($licensedto->assigned_to) && ($licensedto->deleted_at == NULL))
{{ $licensedto->user->fullName() }}
+ @elseif (($licensedto->assigned_to) && ($licensedto->deleted_at != NULL))
+ {{ $licensedto->user->fullName() }}
@endif
|
diff --git a/app/views/backend/licenses/view.blade.php b/app/views/backend/licenses/view.blade.php
index 168ba626a1..b364545aa2 100644
--- a/app/views/backend/licenses/view.blade.php
+++ b/app/views/backend/licenses/view.blade.php
@@ -8,35 +8,35 @@ View License {{ $license->name }} ::
{{-- Page content --}}
@section('content')
-
-
- History for ({{ $license->name }})
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
{{ $license->seats }} License Seats
@@ -141,13 +141,10 @@ View License {{ $license->name }} ::
-
-
-
-
+
License Info:
@if ($license->serial)
diff --git a/app/views/backend/users/index.blade.php b/app/views/backend/users/index.blade.php
index 3db54ec1e4..d50f197054 100755
--- a/app/views/backend/users/index.blade.php
+++ b/app/views/backend/users/index.blade.php
@@ -58,7 +58,7 @@ User Management ::
| {{ $user->licenses->count() }} |
{{ $user->isActivated() ? '' : ''}} |
- @if ($user->id > 3)
+ @if ($user->id > 2)
@if ( ! is_null($user->deleted_at))
@else
@@ -67,7 +67,7 @@ User Management ::
@else
- @lang('button.delete')
+
@endif
@endif
@endif
diff --git a/app/views/backend/users/view.blade.php b/app/views/backend/users/view.blade.php
index 92311dced9..9214da40c8 100644
--- a/app/views/backend/users/view.blade.php
+++ b/app/views/backend/users/view.blade.php
@@ -8,19 +8,20 @@ View User {{ $user->fullName() }} ::
{{-- Page content --}}
@section('content')
-
-
- | |