222 lines
11 KiB
HTML
222 lines
11 KiB
HTML
<section id="page-title">
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<h1 class="mainTitle">Calls done on a Particular Day/Period - Report</h1>
|
|
</div>
|
|
<!-- <div ncy-breadcrumb></div> -->
|
|
</div>
|
|
</section>
|
|
<style>
|
|
td,th {
|
|
white-space: nowrap;
|
|
}
|
|
th{
|
|
text-align:center;
|
|
}
|
|
.table>tbody>tr>td { padding: 10px; }
|
|
/* .sort-icon {
|
|
font-size: 9px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
th {
|
|
cursor: pointer;
|
|
} */
|
|
</style>
|
|
<script type="text/javascript" src="bower_components/ng-table-excel-export/ng-table-excel-export.min.js">
|
|
|
|
|
|
</script>
|
|
<div class="container-fluid container-fullw bg-white">
|
|
<div ng-controller="report_leadCtrl" ng-init="filters()">
|
|
<form name="Form" id="form" novalidate ng-submit="onSubmit(Form)" method="post">
|
|
<fieldset>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="row">
|
|
<!-- <div class="col-md-12">-->
|
|
<div class="col-md-3">
|
|
<label >
|
|
University
|
|
</label><br>
|
|
|
|
<select ui-select2 class="form-control" tabindex="1" class="cs-select cs-skin-elastic" name="univ" ng-model="filtersList.univ" ng-change=click() required>
|
|
<option value="" selected>Select University</option>
|
|
<!--details.universityName for details in university-->
|
|
<option ng-repeat="details in university" value="{{details.universityName}}">{{details.universityName}}</option>
|
|
|
|
</select>
|
|
<span style="color:red;" ng-if="show" ng-show="Form.univ.$dirty && Form.univ.$error.required">Please select University.</span>
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
<label >
|
|
Activity
|
|
</label><br>
|
|
|
|
<select ui-select2 class="form-control" tabindex="2" class="cs-select cs-skin-elastic" name="activity" ng-model="filtersList.activity" ng-change=click() required>
|
|
<option value="" selected>Select Activity</option>
|
|
<option ng-repeat="act in activity" value="{{act}}">{{act.activityName}}</option>
|
|
|
|
</select>
|
|
<span style="color:red;" ng-if="show" ng-show="Form.activity.$dirty && Form.activity.$error.required">Please select Activity.</span>
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
|
<label >
|
|
Status
|
|
</label><br>
|
|
|
|
<select ui-select2 class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="status" ng-model="filtersList.status" ng-change=click() required>
|
|
<option value="" selected>Select Status</option>
|
|
<option ng-repeat="status in statusDetails.activityStatus" value="{{status.ListCode}}">{{status.ListName}}</option>
|
|
|
|
</select>
|
|
<span style="color:red;" ng-if="show" ng-show="Form.status.$dirty && Form.status.$error.required">Please select Status.</span>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<label >
|
|
Assigned
|
|
</label><br>
|
|
|
|
<select ui-select2 class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="assigned" ng-model="filtersList.assigned" ng-change=click() required>
|
|
<option value="" selected>Select Assigned</option>
|
|
<option ng-repeat="staff in staff" value="{{staff.StaffID}}">{{staff.staff_name}}</option>
|
|
|
|
</select>
|
|
<span style="color:red;" ng-if="show" ng-show="Form.assigned.$dirty && Form.assigned.$error.required">Please select assigned.</span>
|
|
</div>
|
|
|
|
<!--</div>-->
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
<!--<pre>{{searchData.date}}</pre>-->
|
|
<div data-ng-controller="DatepickerDemoCtrl">
|
|
<label>
|
|
From Date
|
|
</label>
|
|
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="filters.from_date"
|
|
is-open="startOpen" ng-init="startOpen = false" name="addDate" datepicker-options="dateOptions"
|
|
placeholder="Select Date" close-text="Close" required="required" ng-change="changeDate();click()"
|
|
show-button-bar="true" ng-change=click() required/>
|
|
<span style="color:red;" ng-if="show" ng-show="Form.addDate.$dirty && Form.addDate.$error.required">Please select From Date.</span>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<!--<pre>{{searchData.date}}</pre>-->
|
|
<div data-ng-controller="DatepickerDemoCtrl">
|
|
<label>
|
|
To Date
|
|
</label>
|
|
<input type="text" tabindex="1" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="filters.to_date"
|
|
is-open="startOpen" ng-init="startOpen = false" name="toDate" datepicker-options="dateOptions"
|
|
placeholder="Select Date" close-text="Close" required="required" ng-change="changeToDate();click()"
|
|
show-button-bar="true" required/>
|
|
<span style="color:red;" ng-if="show" ng-show="Form.toDate.$dirty && Form.toDate.$error.required">Please select To Date.</span>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- <div class="col-md-3">
|
|
<label for="form-field-select-2">
|
|
Batch
|
|
</label>
|
|
|
|
<select class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="batch" ng-model="searchData.Batch" ng-change="getValueChange()">
|
|
<option value="" selected>Select Batch</option>
|
|
<option ng-repeat="itemBatch in batchData" value="{{itemBatch.BatchCode}}">{{itemBatch.BatchName}}</option>
|
|
</select>
|
|
</div> -->
|
|
|
|
<div class="col-md-3" style="padding-top: 2.3%;">
|
|
<button type="submit" class="btn btn-success btn-o" tabindex="8" ng-disabled="disableSubmit==true">
|
|
Submit
|
|
</button>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
</form>
|
|
<!-- <pre>{{statusr | json}}</pre> -->
|
|
<div class="row" style="text-align: right;">
|
|
<div class="col-md-4">
|
|
<input class="form-control" type="text" ng-model="search" id="searchIn" autofocus tabindex="2" placeholder="Search" />
|
|
</div>
|
|
<div class="col-md-6">
|
|
|
|
</div>
|
|
<button class="btn btn-success btn-o" ng-click="exportData()">Export to Excel</button>
|
|
|
|
</div>
|
|
<div class="table-responsive" style="margin-top: 20px;">
|
|
<table id="datatable" class="table table-striped table-bordered table-hover table-condensed" style="font-size:0.9em;" ng-controller="studentModalDemoCtrl">
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>SL.No</th>
|
|
<th>Date</th>
|
|
<th>Tracking ID</th>
|
|
<th>Followup Date</th>
|
|
<th>Name</th>
|
|
<th>Phone Number</th>
|
|
<th>University</th>
|
|
<th>Course</th>
|
|
<th>Present Status</th>
|
|
<th>Comments</th>
|
|
<th>Activity</th>
|
|
<th>Assigned To</th>
|
|
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr dir-paginate="p in lead_data|filter:search:strict|itemsPerPage:10 "current-page="currentPage">
|
|
|
|
<td>{{10 * (currentPage-1)+$index+1}}</td>
|
|
<td>{{p.date}}</td>
|
|
<td>{{p.tid}}</td>
|
|
<td>{{p.fup}}</td>
|
|
<td>{{p.name}}</td>
|
|
<td>{{p.mobile}}</td>
|
|
<td>{{p.univ}}</td>
|
|
<td>{{p.course}}</td>
|
|
<td>{{p.prsStatus}}</td>
|
|
<td>{{p.cmnts}}</td>
|
|
<td>{{p.activity}}</td>
|
|
<td>{{p.AssignTo}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
<div class="row">
|
|
<div class="col-md-12" ng-if="isLoaderShow">
|
|
<center> <h3>{{isLoaderTxt1}}</h3> </center>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12" ng-if="isLoaderShow1">
|
|
<center> <h1>{{isLoaderTxt}}</h1> </center>
|
|
</div>
|
|
</div>
|
|
<h3 style="text-align:center;">{{message}}</h3>
|
|
|
|
</div>
|
|
|
|
<dir-pagination-controls direction-links="true" boundary-links="true">
|
|
</dir-pagination-controls>
|
|
</div>
|
|
</div> |