|
@@ -13,11 +13,12 @@
|
|
|
<div class="row">
|
|
|
<div class="col-12 col-md-7">
|
|
|
|
|
|
+ <div class="mb-2">
|
|
|
+ Total records: <b>{{ $logInAsPros->total() }}</b> @if($logInAsPros->lastPage() > 1) ({{ $logInAsPros->perPage() }} per page) @endif
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="d-flex align-items-center">
|
|
|
{{ $logInAsPros->withQueryString()->links() }}
|
|
|
- <span class="{{ $logInAsPros->lastPage() > 1 ? 'ml-3' : '' }} mb-3">
|
|
|
- Total records: <b>{{ $logInAsPros->total() }}</b> @if($logInAsPros->lastPage() > 1) ({{ $logInAsPros->perPage() }} per page) @endif
|
|
|
- </span>
|
|
|
<form class="ml-auto width-200px mb-3 log-in-as-form" method="GET" action="/log_in_as" target="_top">
|
|
|
<input type="text" placeholder="Name/email/phone" class="form-control form-control-sm" name="q"
|
|
|
value="{{request()->input('q')}}">
|
|
@@ -38,15 +39,15 @@
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
- @foreach($logInAsPros as $pro)
|
|
|
+ @foreach($logInAsPros as $laPro)
|
|
|
<tr>
|
|
|
- <td class="pl-2">{{$pro->displayName()}}</td>
|
|
|
- <td>{{$pro->cell_number}}</td>
|
|
|
- <td>{{$pro->email_address}}</td>
|
|
|
+ <td class="pl-2">{{$laPro->displayName()}}</td>
|
|
|
+ <td>{{$laPro->cell_number}}</td>
|
|
|
+ <td>{{$laPro->email_address}}</td>
|
|
|
<td class="text-right pr-2">
|
|
|
- <form action="{{route('process-log-in-as')}}" onsubmit="saveProUid('{{$pro->uid}}')" method="POST" target="_top">
|
|
|
+ <form action="{{route('process-log-in-as')}}" onsubmit="saveProUid('{{$laPro->uid}}')" method="POST" target="_top">
|
|
|
@csrf
|
|
|
- <input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="proUid" value="{{$laPro->uid}}">
|
|
|
<button class="btn btn-sm btn-primary font-weight-bold px-4 py-1">Login</button>
|
|
|
</form>
|
|
|
</td>
|