@extends('layout.app')

@section('content')

<div class="card">
    <div class="card-body">

            <div class="row">
                <div class="col-md-12">
                    <h3><u>Employee Information</u></h3>
                    <hr>
                </div>
                <div class="col-md-4">
                    <label for="name">Employee Id</label>
                    <input type="text" class="form-control" name="name" value="{{ $employee->employee_id }}" disabled>
                </div>
                <div class="col-md-4">
                    <label for="name">Employee Name</label>
                    <input type="text" class="form-control" name="name" value="{{ $employee->name }}" disabled>
                </div>
                <div class="col-md-4">
                    <label for="name">Employee Email</label>
                    <input type="text" class="form-control" name="email" value="{{ $employee->email }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee Phone</label>
                    <input type="number" class="form-control" name="mobile_personal" value="{{ $employee->mobile_personal }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee Address</label>
                    <input type="text" class="form-control" name="current_address" value="{{ $employee->current_address }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee NID</label>
                    <input type="number" class="form-control" name="nid" value="{{ $employee->nid }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee Department</label>
                    <input type="text" class="form-control" name="department" value="{{ $employee->department }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee Designation</label>
                    <input type="text" class="form-control" name="current_designation" value="{{ $employee->current_designation }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Joining Date</label>
                    <input type="date" class="form-control" name="join_date" value="{{ $employee->join_date }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Blood Group</label>
                    <input type="text" class="form-control" name="blode_group" value="{{ $employee->blode_group }}" disabled>
                </div>
                <div class="col-md-12 mt-4">
                    <h3><u>Employee Finance Information</u></h3>
                    <hr>
                </div>
                <div class="col-md-4">
                    <label for="name">Basic Salary</label>
                    <input type="number" class="form-control" name="current_salary" value="{{ $employee->current_salary }}" disabled>
                </div>
                <div class="col-md-4">
                    <label for="name">House Allowance</label>
                    <input type="number" class="form-control" name="house_allowance" value="{{ $employee->house_allowance }}" disabled>
                </div>
                <div class="col-md-4">
                    <label for="name">TA/DA Allowance</label>
                    <input type="number" class="form-control" name="transport_allowance" value="{{ $employee->transport_allowance }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Other Allowance</label>
                    <input type="number" class="form-control" name="other_allowance" value="{{ $employee->other_allowance }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Bonous</label>
                    <input type="number" class="form-control" name="bonous" value="{{ $employee->bonous }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Advance Salary</label>
                    <input type="number" class="form-control" name="advance_salary" value="{{ $employee->advance_salary }}" disabled>
                </div>

                <div class="col-md-12 mt-4">
                    <h3><u>Employee working Information</u></h3>
                    <hr>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Working Day</label>
                    <input type="number" class="form-control" name="working_day" value="{{ $employee->working_day }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Absent Day</label>
                    <input type="number" class="form-control" name="absent_day"value="{{ $employee->absent_day }}" disabled>
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Salary Generate</label>
                    <select class="form-control" name="salary_generate" id="" disabled>
                        <option {{ ($employee->salary_generate == 1) ? 'selected' : '' }} value="1">Active</option>
                        <option {{ ($employee->salary_generate == 0) ? 'selected' : '' }} value="0">Inactive</option>
                    </select>
                </div>

            </div>
    </div>
</div>

@endsection
