mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 11:41:31 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user