<!doctype html>
<html lang="en">
 
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="{{asset('bootstrap/css/bootstrap.min.css')}}">
    <link href="{{asset('css/circular-std/style.css')}}" rel="stylesheet">
    <link rel="stylesheet" href="{{asset('css/style.css')}}">
    <link rel="stylesheet" href="{{asset('css/fontawesome/css/fontawesome-all.css')}}">
    <link rel="stylesheet" href="{{asset('vendor/fonts/flag-icon-css/flag-icon.min.css')}}">
    <link rel="stylesheet" href="{{asset('css/jquery.dataTables.min.css')}}">

    <!--Datepicker-->
    <link rel="stylesheet" href="{{asset('dist/css/bootstrap-datepicker.css')}}">
    <link rel="stylesheet" href="{{asset('dist/css/bootstrap-datepicker.min.css')}}">
    <title>JCIT Payroll</title>
    <link rel="icon" href="{{ URL::to('/img/PAYROLLICON2.ico') }}"/>
</head>

<body>
    <!-- ============================================================== -->
    <!-- main wrapper -->
    <!-- ============================================================== -->
    <div class="dashboard-main-wrapper">
        <!-- ============================================================== -->
        <!-- navbar -->
        <!-- ============================================================== -->
        <div class="dashboard-header">
            <nav class="navbar navbar-expand-lg bg-white fixed-top">
                
                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse " id="navbarSupportedContent">
                    <ul class="navbar-nav ml-auto navbar-right-top">
                        <li class="nav-item dropdown nav-user">
                            <a class="nav-link nav-user-img" href="#" id="navbarDropdownMenuLink2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img src="assets/images/avatar-1.jpg" alt="" class="user-avatar-md rounded-circle">{{Auth::user()->name}}</a>
                            <div class="dropdown-menu dropdown-menu-right nav-user-dropdown" aria-labelledby="navbarDropdownMenuLink2">
                                <a class="dropdown-item" href="{{ route('logout') }}" onclick="event.preventDefault();document.getElementById('logout-form').submit();"><i class="fas fa-power-off mr-2"></i>Logout</a>

                                                            <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                                                                {{ csrf_field() }}
                                                            </form>
                            </div>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>
        <!-- ============================================================== -->
        <!-- end navbar -->
        <!-- ============================================================== -->
        <!-- ============================================================== -->
        <!-- left sidebar -->
        <!-- ============================================================== -->
        <div class="nav-left-sidebar sidebar-dark">
            <div class="menu-list">
                <nav class="navbar navbar-expand-lg navbar-light">
                    <a class="d-xl-none d-lg-none" href="#">Dashboard</a>
                    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                        <span class="navbar-toggler-icon"></span>
                    </button>
                    <div class="collapse navbar-collapse" id="navbarNav">
                        <ul class="navbar-nav flex-column">
                            <li class="nav-divider">
                                Menu
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#" data-toggle="collapse" aria-expanded="false" data-target="#submenu-2" aria-controls="submenu-2"><i class="fa fa-fw fa-rocket"></i>Transactions</a>
                                <div id="submenu-2" class="collapse submenu" style="">
                                    <ul class="nav flex-column">
                                        <li class="nav-item">
                                            <a class="nav-link" href="pages/cards.html">Create/Modify/Edit Payroll <span class="badge badge-secondary">New</span></a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Employee Loan Deduction</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Regular Time Data Entry</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Overtime Data Entry</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Lates and Absents Data Entry</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Other Income Data Entry</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View/Edit Employee Loan Data</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View Regular Time</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View Overtime</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View Payroll Trans</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View Payroll Deduction</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View Lates and Absences</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">View Other Income Data</a>
                                        </li>
                                    </ul>
                                </div>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#" data-toggle="collapse" aria-expanded="false" data-target="#submenu-3" aria-controls="submenu-3"><i class="fas fa-fw fa-chart-pie"></i>Inquiries and Reports</a>
                                <div id="submenu-3" class="collapse submenu" style="">
                                    <ul class="nav flex-column">
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Payroll Register</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Bank Trnansmital</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Over the Counter Listing</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Pay Slip</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">SSS Monthly Remittance</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">HDMF Monthly Remittance</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Tax Monthly Return</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Philhealth Monthly Remittance</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#" data-toggle="collapse" aria-expanded="false" data-target="#submenu-1-1" aria-controls="submenu-1-1">Year to Date Report</a>
                                            <div id="submenu-1-1" class="collapse submenu" style="">
                                                <ul class="nav flex-column">
                                                    <li class="nav-item">
                                                        <a class="nav-link" href="#">YTD Reports</a>
                                                    </li>
                                                    <li class="nav-item">
                                                        <a class="nav-link" href="#">Alpha List</a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </li>
                                    </ul>
                                </div>
                            </li>
                            <li class="nav-item ">
                                <a class="nav-link" href="#" data-toggle="collapse" aria-expanded="false" data-target="#submenu-4" aria-controls="submenu-4"><i class="fab fa-fw fa-wpforms"></i>Maintenance</a>
                                <div id="submenu-4" class="collapse submenu" style="">
                                    <ul class="nav flex-column">
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/empMasterList') }}">Add/Update Employee Record</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/taxTable') }}">Add/Update Tax Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/sstable') }}">Add/Update SSS Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/philhealth') }}">Add/Update PhilHealth Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/hdmftable') }}">Add/Update HDMF Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/empStatus') }}">Add/Update Employment Status</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/pprdTable') }}">Add/Update Pay Period Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/OtTable') }}">Add/Update Overtime Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/loanTable') }}">Add/Update Loan Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/othIncTable') }}">Add/Update Other Income Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/department') }}">Add/Update Department Table</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="#">Company Preferences</a>
                                        </li>
                                        <li class="nav-item">
                                            <a class="nav-link" href="{#">User Accounts</a>
                                        </li>
                                    </ul>
                                </div>
                            </li>
                            <li class="nav-item ">
                                <a class="nav-link" href="#" data-toggle="collapse" aria-expanded="false" data-target="#submenu-5" aria-controls="submenu-5"><i class="fas fa-fw fa-table"></i>Employee List</a>
                                <div id="submenu-5" class="collapse submenu" style="">
                                    <ul class="nav flex-column">
                                        <li class="nav-item">
                                            <a class="nav-link" href="{{ url('/employeeList')}}">Add/Update Employee</a>
                                        </li>
                                        
                                    </ul>
                                </div>
                            </li>
                        </ul>
                    </div>
                </nav>
            </div>
        </div>
        <!-- ============================================================== -->
        <!-- end left sidebar -->
        <!-- ============================================================== -->
        <!-- ============================================================== -->
        <!-- wrapper  -->
        <!-- ============================================================== -->
        <div class="dashboard-wrapper">
            <div class="dashboard-ecommerce">
                <div class="container-fluid dashboard-content ">
                    <!-- ============================================================== -->
                    <!-- pageheader  -->
                    <!-- ============================================================== -->
                     @yield('content')

                  

                    <!-- ============================================================== -->
                    <!-- end pageheader  -->
                    <!-- ============================================================== -->
                    
                </div>
            </div>
            <!-- ============================================================== -->
            <!-- footer -->
            <!-- ============================================================== -->
            <div class="footer">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
                             <a href="#">Just Click</a>.
                        </div>
                        <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
                            <div class="text-md-right footer-links d-none d-sm-block">
                                <a href="javascript: void(0);">About</a>
                                <a href="javascript: void(0);">Support</a>
                                <a href="javascript: void(0);">Contact Us</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- ============================================================== -->
            <!-- end footer -->
            <!-- ============================================================== -->
        </div>
        <!-- ============================================================== -->
        <!-- end wrapper  -->
        <!-- ============================================================== -->
    </div>
    <!-- ============================================================== -->
    <!-- end main wrapper  -->
    <!-- ============================================================== -->
    <!-- Optional JavaScript -->
    <!-- jquery 3.3.1 -->
    <script src="{{asset('vendor/jquery/jquery-3.3.1.min.js')}}"></script>
    <!--Datatables-->
    <script src="{{asset('js/jquery.dataTables.min.js')}}"></script>
    <script src="{{ asset('js/jquery.dataTables.js')}}"></script>
    <!-- bootstap bundle js -->
    <script src="{{asset('vendor/bootstrap/js/bootstrap.bundle.js')}}"></script>
    <!-- slimscroll js -->
    <script src="{{asset('vendor/slimscroll/jquery.slimscroll.js')}}"></script>
    <!-- main js -->
    <script src="{{asset('js/main-js.js')}}"></script>

    <!--Datepicker-->
    <script src="{{asset('dist/js/bootstrap-datepicker.js')}}"></script>
    <script src="{{asset('dist/js/bootstrap-datepicker.min.js')}}"></script>

    <script>
        $(document).ready(function(){
            $('#emptable').DataTable({

            });

            $('#dob').datepicker({
               format: 'yyyy-mm-dd',
            });
        })
    </script>
</body>

</html>