users-verification-tokens.blade.php 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @extends('app.my-account.layout-lite')
  2. @section('page')
  3. <div class="px-3">
  4. <div class="d-flex align-items-baseline border-bottom px-3 py-2 mb-2 m-neg-3 bg-light">
  5. <h2 class="font-size-16 text-secondary fw-bold m-0 me-3">Users Verification Pins</h2>
  6. </div>
  7. @include('app.my-account.admin.users.partials.verification-tokens-filters')
  8. <div class="table-responsive">
  9. <table class="table table-sm table-hover table-striped table-bordered mb-0">
  10. <thead class="fw-bold text-secondary bg-light">
  11. <tr>
  12. <th>Created At</th>
  13. <th>Email Address</th>
  14. <th>Name</th>
  15. <th>Token</th>
  16. <th>Phone</th>
  17. <th>Pin Verified</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. @foreach ($records as $record)
  22. <tr>
  23. <td>{{ friendly_date($record->created_at ?? $record->updated_at) }}</td>
  24. <td>{{ $record->email }}</td>
  25. <td>{{ $record->displayName() }}</td>
  26. <td>{{ $record->email_confirmation_token }}</td>
  27. <td>{{ $record->phone_number }}</td>
  28. </td>
  29. <td>
  30. @if($record->is_email_confirmed)
  31. <span class="text-success">YES</span>
  32. @else
  33. <span class="text-danger">NO</span>
  34. @endif
  35. </td>
  36. </tr>
  37. @endforeach
  38. </tbody>
  39. </table>
  40. </div>
  41. <div class="mt-3">
  42. {{ $records->appends(request()->input())->links() }}
  43. </div>
  44. </div>
  45. @endsection