<div class="content-wrapper" ng-if="!myAccess.emailNotificationConf">
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-6 offset-sm-1 offset-md-2 offset-lg-3 mt-5">
                <div class="alert alert-warning alert-dismissible">
                    <h5><i class="icon fas fa-ban"></i> 	!</h5>
                    Unauthorised Access.
                </div>
            </div>
        </div>
    </div>
</div>

<div class="content-wrapper" class="modal-demo" ng-if="myAccess.emailNotificationConf">
    <section class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="text-{{page.color}}">
                        <go-back/>
                        <i class="fas {{page.icon}}"></i> Manage Requisition List
                    </h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a ng-href="{{baseurl}}/dashboard">Home</a></li>
                        <li class="breadcrumb-item text-blue">Manage Requisition List</li>
                    </ol>
                </div>
            </div>
        </div>
    </section>
    <section class="content">
        <div class="row">
                <div class="col-12 col-md-12 col-lg-12">
                <div class="card card-outline card-success">
                    <div class="card-header border-transparent">
                        <h3 class="card-title">&nbsp;</h3>
                        <div class="card-tools">
                            <div class="btn-group">
                                <a ng-href="{{baseurl}}/requisitionadd"><button type="button" class="btn bg-indigo"><i class="fas fa-plus"></i> <span class="d-none d-lg-inline-block">Create Requisition</span></button></a>
                                <!-- <button ng-click="goTo($event,'newslettersAdd')" type="button" class="btn bg-indigo"><i class="fas fa-plus"></i> <span class="d-none d-lg-inline-block">Create Newsletter</span></button> -->
                                <button type="button" title="Fullscreen Toggle" class="btn btn-dark toggle-fullscreen"><i class="fas fa-expand"></i></button>
                                <button type="button" class="btn btn-dark" data-widget="collapse"><i class="fas fa-minus"></i></button>
                            </div>
                        </div>
                    </div>
                    <div class="card-body">
                                <h5>Requisition List</h5>
                                <div class="table-responsive">
                                    <table id="masterList" class="table table-bordered table-sm requisitionList">
                                        <thead>
                                        <tr>
                                            <th>Project Name</th>
                                            <th>Account Name</th>
                                            <th>Designation</th>
                                            <th>Allocation Hours</th>
                                            <th>Min Exp</th>
                                            <th>Max Exp</th>
                                            <th>Billing Status</th>
                                            <th>Billing Hours</th>
                                            <th>Raised On</th>
                                            <th>Position Closed On</th>
                                            <th>Needed By</th>
                                            <th>Engagement Duration</th>
                                            <th>Requirement Status</th>
                                            <th>Sourcing Status</th>
                                            <th>Action</th>
                                            <!-- <th>Action</th> -->
                                        </tr>
                                        </thead>
                                        <tbody>
                                        <tr ng-repeat="req in requisitionList">
                                            <td>{{req.proj_name}}</td>
                                            <td>{{req.acc_company_name}}</td>
                                            <td>{{req.desg_name}}</td>
                                            <td>{{req.allocation_hours}}</td>
                                            <td>{{req.min_exp}}</td>
                                            <td>{{req.max_exp}}</td>
                                            <td>{{req.billing_hours}}</td>
                                            <td>{{req.billing_type}}</td>
                                            <td>{{req.raised_on}}</td>
                                            <td>{{req.position_closed_on}}</td>
                                            <td>{{req.needed_by}}</td>
                                            <td>{{req.eng_duration}}</td>
                                            <td>{{req.status_name}}</td>
                                            <td>{{req.sourcing_status}}</td>
                                            <td>
                                                <button type="button" class="btn btn-xs bg-cyan" ng-click="edit(dl)"><i class="fas fa-pen-square" title="Edit"></i> Send for Approval</button>
                                            </td>
                                            <!-- <td>
                                                <div class="btn-group btn-group-sm">
                                                    <button type="button" class="btn btn-xs bg-cyan" ng-click="edit(dl)"><i class="fas fa-pen-square" title="Edit"></i></button> -->
                                                    <!-- <button type="button" class="btn btn-xs {{dl.status==false?'bg-danger':'bg-success'}}" ng-click="{{dl.status==true?'delete(dl)':'edit(dl)'}}"> -->
                                                    <!-- <button type="button" class="btn btn-xs {{dl.status==false?'bg-danger':'bg-success'}}" ng-click="changeStatus(dl)">
                                                        <i class="fas fa-{{dl.status==true?'trash':'redo'}}" title="{{dl.status==false?'Inactive':'Active'}}"></i> {{dl.status==0?'Inactive':'Active'}}</button> -->
                                                <!-- </div>
                                            </td> -->
                                        </tr>
                                        </tbody>
                                    </table>
                                </div>
                    </div>
                </div>
                </div>
                <!--  -->
            </div>
        </div>
    </section>
    <!-- <section class="content">
        <div class="row">
            <div class="col-md-12">
           
            </div>
        </div>
    </section> -->
</div>
