updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -65,7 +65,7 @@
<table class="table color-table success-table">
<thead>
<tr>
<th>#</th>
{{-- <th>#</th> --}}
<th>{{ __('users.names') }}</th>
<th>{{ __('users.username') }}</th>
<th>{{ __('users.phone_number') }}</th>
@@ -84,7 +84,7 @@
$last_seen = Carbon\Carbon::parse($user->last_seen);
@endphp
<tr>
<td>{{ ++$i }}</td>
{{-- <td>{{ ++$i }}</td> --}}
<td>{{ $user->first_name }} {{ $user->last_name }}</td>
<td>{{ $user->username }}</td>
<td>{{ $user->phone }}</td>
@@ -112,9 +112,21 @@
<a class="btn btn-info btn-sm" href="{{ route('users.edit',$user->id) }}">{{ __('users.edit') }}</a>
</td>
<td>
@if($type == 1 )
@if ($user->inactive_counter < 3)
{!! Form::open(['method' => 'DELETE','route' => ['users.destroy', $user->id],'style'=>'display:inline']) !!}
{!! Form::submit(__('users.delete'), ['class' => 'btn btn-danger btn-sm']) !!}
{!! Form::close() !!}
@else
<span style="color:red;" >{{ __('users.no_longer_deletes') }}</span><br/>
<a href="javascript:void(0)" data-toggle="tooltip" rel="tooltip" data-placement="top" title="{{ __('users.delete_active_user') }}"> <i class="fa fa-info-circle"></i></a>
@endif
@else
{!! Form::open(['method' => 'DELETE','route' => ['users.destroy', $user->id],'style'=>'display:inline']) !!}
{!! Form::submit(__('users.delete'), ['class' => 'btn btn-danger btn-sm']) !!}
{!! Form::close() !!}
@endif
</td>
</tr>
@endforeach