@extends('layouts.app_operasi')

@section('content')
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-12">
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb pb-3">
                    <li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
                    <li class="breadcrumb-item active" aria-current="page">Maklumat Pengguna</li>
                </ol>
            </nav>
            <div class="card">
                <div class="card-body text-center">
                    <div class="col-md-12" style="margin-right:auto;margin-left:auto">
                        <div class="row form-group">
                            <div class="col-md-12">
                                <div class="row form-group">
                                    <div class="col-md-6">NAMA</div>
                                    <div class="col-md-6"><input type="text" class="form-control" readonly value="{{ $auth_user->name }}"></div>
                                    <div class="col-md-6">NO TELEFON</div>
                                    <div class="col-md-6"><input type="text" class="form-control" readonly value="{{ $auth_user->no_telefon }}"></div>
                                </div>
                            </div>
                            <div class="col-md-12">
                                <div class="row form-group">
                                    <div class="col-md-6">NO KP</div>
                                    <div class="col-md-6"><input type="text" class="form-control" readonly value="{{ $auth_user->no_kp }}"></div>
                                    <div class="col-md-6">JAWATAN</div>
                                    <div class="col-md-6"><input type="text" class="form-control" readonly value="{{ $auth_user->roles }}"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <a href="{{ route('profile.edit') }}" class="btn btn-primary">Kemaskini Profil</a>
                    <a href="{{ route('user.password') }}" class="btn btn-primary">Kemaskini Katalaluan</a>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection