@extends('layout.app')

@section('content')

<div class="card">
    <div class="card-body">
        <form action="{{ route('payrollEmployee.store') }}" method="post" enctype="multipart/form-data">
            @csrf
            <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 Name</label>
                    <input type="text" class="form-control" name="name">
                </div>
                <div class="col-md-4">
                    <label for="name">Employee Email</label>
                    <input type="text" class="form-control" name="email">
                </div>
                <div class="col-md-4">
                    <label for="name">Employee Phone</label>
                    <input type="number" class="form-control" name="mobile_personal">
                </div>
                <div class="col-md-4">
                    <label for="name">Employee Address</label>
                    <input type="text" class="form-control" name="current_address">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee NID</label>
                    <input type="number" class="form-control" name="nid">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee Department</label>
                    <input type="text" class="form-control" name="department">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Employee Designation</label>
                    <input type="text" class="form-control" name="current_designation">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Joining Date</label>
                    <input type="date" class="form-control" name="join_date">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Blood Group</label>
                    <input type="text" class="form-control" name="blode_group">
                </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">
                </div>
                <div class="col-md-4">
                    <label for="name">House Allowance</label>
                    <input type="number" class="form-control" name="house_allowance">
                </div>
                <div class="col-md-4">
                    <label for="name">TA/DA Allowance</label>
                    <input type="number" class="form-control" name="transport_allowance">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Other Allowance</label>
                    <input type="number" class="form-control" name="other_allowance">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Bonous</label>
                    <input type="number" class="form-control" name="bonous">
                </div>
                {{-- <div class="col-md-4 mt-3">
                    <label for="name">Advance Salary</label>
                    <input type="number" class="form-control" name="advance_salary">
                </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="30">
                </div>
                <div class="col-md-4 mt-3">
                    <label for="name">Absent Day</label>
                    <input type="number" class="form-control" name="absent_day" value="0">
                </div> --}}
                <div class="col-md-4 mt-3">
                    <label for="name">Salary Generate</label>
                    <select class="form-control" name="salary_generate" id="">
                        <option value="">Select</option>
                        <option value="1">Active</option>
                        <option value="0">Inactive</option>
                    </select>
                </div>

            </div>
            <button class="btn btn-success mt-3" style="float: right" type="submit">Add Employee</button>
        </form>
    </div>
</div>

@endsection
