course controller added

This commit is contained in:
gandhimathi 2017-11-23 19:43:36 +05:30
parent 292a1af5e1
commit 11872a2ef3

View File

@ -57,58 +57,6 @@
<div class="col-md-12" ng-if="loader == false">
<div class="row">
<!--<form name="viewForm" id="viewForm" novalidate method="post">
<fieldset>
&lt;!&ndash;<legend>
Search
</legend>&ndash;&gt;
<div data-ng-controller="DatepickerDemoCtrl">
<div class="col-md-3">
&lt;!&ndash;<label>
Date <span
class="symbol required"></span>
</label>&ndash;&gt;
<input type="text" tabindex="6"
class="form-control "
ng-click="startOpen = !startOpen"
datepicker-popup="dd-MM-yyyy"
ng-model="myModel.searchDate"
is-open="startOpen"
ng-init="startOpen = false"
name="searchDate"
datepicker-options="dateOptions"
placeholder="Select Date"
min-date="minStartDate"
max-date="minStartDate"
close-text="Close" ng-change="init(viewForm,myModel,'DATE');">
</div>
<div class="col-md-3 form-group"
ng-class="{'has-error':viewForm.searchMobileNumber.$dirty && viewForm.searchMobileNumber.$invalid, 'has-success':viewForm.searchMobileNumber.$valid}">
<input type="text" placeholder="Enter Mobile Number" ladda="ldloading1.zoom_in" data-style="zoom-in"
tabindex="5" class="form-control" name="searchMobileNumber" ng-minlength="10" ng-maxlength="12"
ng-model="myModel.searchMobileNumber" ng-pattern="/^[0-9]*$/" ng-change="init(viewForm,myModel,'MOBILE');"/>
<span class="error text-small block"
ng-if="viewForm.searchMobileNumber.$error.maxlength || viewForm.searchMobileNumber.$error.minlength || viewForm.searchMobileNumber.$error.pattern">Enter a valid phone number</span>
</div>
<div class="col-md-3 form-group"
ng-class="{'has-error':viewForm.searchStudentName.$dirty && viewForm.searchStudentName.$invalid, 'has-success':viewForm.searchStudentName.$valid}">
<input type="text" placeholder="Enter Student Name"
tabindex="5" class="form-control" name="searchStudentName"
ng-model="myModel.searchStudentName" ng-pattern="/^[a-zA-Z.\s]*$/" ng-blur="init(viewForm,myModel,'NAME');"/>
<span class="error text-small block"
ng-if="viewForm.searchStudentname.$dirty && viewForm.searchStudentname.$error.pattern">Invalid student name </span>
</div>
</fieldset>
</form>-->
<div class="col-md-12">
<script>
@ -148,64 +96,10 @@
<br><br>
</div>
</div>
<div class="table-responsive">
<!-- <table ng-table="tableParams" class="table table-hover">
&lt;!&ndash;| filter:search:strict&ndash;&gt;
<tbody ng-repeat="p in data | filter:search:strict">
<tr id="tr{{p.LeadID}}">
<td class="rowTd" data-title="'S.No'" sortable="">
{{$index+1}}
</td>
<td class="rowTd" data-title="'Date'" sortable="">
<a href="#" class="text-azure" ng-click="setEditId(p);">{{p.followupDetails[0].FollowupOn}}</a>
</td>
<td class="rowTd" data-title="'Student Name'" sortable="">
{{p.LeadName}}
</td>
<td class="rowTd" data-title="'Mobile No'"
sortable="">
{{p.MobileNumber}}
</td>
<td class="rowTd" data-title="'Tracking ID'"
sortable="">
{{p.TrackingID}}
</td>
<td class="rowTd" data-title="'Activity'"
sortable="">
{{p.ListName}}
</td>
<td class="rowTd" data-title="'Assigned To'"
sortable="">{{p.Firstname}}
</td>
&lt;!&ndash;<td><a href="#" class="text-azure" ng-click="setEditId(p);">Follow Up</a>
</td>&ndash;&gt;
&lt;!&ndash;<td class="center"><span class="label label-success" id="editRowBtn{{p.LeadID}}" value="Follow Up"
ng-click="setEditId(p);">Follow Up</span></td>&ndash;&gt;
</tr>
<tr ng-show="editId === p.LeadID" ng-if="editId === p.LeadID" style="width: 100%;">
<td colspan="12" ng-include
src="'assets/views/callTrackingFollowup.html'"></td>
</tr>
</tbody>
</table>-->
<fieldset>
<table class="table table-hover">