<div class="card mb-3">

    <div class="card-header">
        <i class="fas fa-table"></i> Danh Sách Dự Án
    </div>
    <div class="card-body">
        <div class="table-responsive" ng-controller="loadGroupProjectByProjectId">
            <a ui-sref="addEmployeeProject" class="btn btn-primary btn-circle btn-sm" style="margin-bottom: 10px;"> Thêm thành viên</a>
            <input type="text" ng-model="search" placeholder="Search" style="margin-bottom: 10px;">
            <table class="table table-bordered" id="dataTable" width="100%"
                   cellspacing="0">
                <thead>
                <tr>
                    <th>Tài khoản</th>
                    <th>Tên</th>
                    <th>Email</th>
                    <th>Chức Vụ</th>
                    <th>Ngày Vào</th>
                    <th>Ngày Ra</th>
                    <th>Thao Tác</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="gruopProject in listGruopProject">
                    <td>{{ gruopProject.employeeDTO.username }}</td>
                    <td>{{ gruopProject.employeeDTO.lastName }}</td>
                    <td>{{ gruopProject.employeeDTO.email}}</td>
                    <td>{{ gruopProject.position}}</td>
                    <td>{{ gruopProject.joinDate | date:"dd/MM/yyyy" }}</td>
                    <td>{{ gruopProject.outDate | date:"dd/MM/yyyy" }}</td>
                    <td>
                        <a ui-sref="editproject({ID: project.id})" class="btn btn-warning btn-circle btn-sm">
                            Sửa </a>
                        <a class="btn btn-danger btn-circle btn-sm" ng-controller="deleteEmployeeProject"
                           data-ng-click="deleteEmployeeProject(gruopProject)">xóa thành viên</a>
                </tr>
                </tbody>
            </table>
            <a ui-sref="project" class="btn btn-primary btn-circle btn-sm" style="margin-bottom: 10px;"> Trở Về</a>
        </div>
    </div>
</div>