@extends('layouts.adminnav') @section('title', 'Admin Dashboard') @section('content')
Automobile Engineering Academy System Overview
{{ $notification->message }}
{{ $notification->created_at ? $notification->created_at->diffForHumans() : '' }}| ID | Name | Phone | Created Date | Action | |
|---|---|---|---|---|---|
| #{{ $user->id }} | {{ $user->first_name }} {{ $user->last_name }} | {{ $user->email }} | {{ $user->phone ?? 'N/A' }} | {{ $user->created_at ? $user->created_at->format('Y-m-d H:i') : 'N/A' }} | |
| No registered users found. | |||||
| Log ID | User ID | Student Name | Phone | Portal PIN | Created Date | Actions | |
|---|---|---|---|---|---|---|---|
| #LOG-{{ $log->id }} | #{{ $log->user_id }} |
@if(!empty($log->first_name) || !empty($log->last_name))
{{ trim($log->first_name . ' ' . $log->last_name) }}
@elseif($log->user)
{{ $log->user->name ?? trim($log->user->first_name . ' ' . $log->user->last_name) }}
@else
N/A
@endif
|
{{ $log->email }} | {{ $log->phone ?? ($log->user->phone ?? 'N/A') }} |
@if(!empty($log->pin) && $log->pin !== 'N/A')
{{ $log->pin }}
@else
N/A
@endif
|
{{ $log->created_at ? $log->created_at->format('Y-m-d H:i') : 'N/A' }} | @if($user->is_active) @else @endif |
| No active student portal logs found. | |||||||