issue no : 1669
This commit is contained in:
parent
0a3c8fbd9e
commit
3918f37b33
@ -261,9 +261,10 @@ group by Student_id,cid";
|
||||
public function GetCourseFeeDetails($search)
|
||||
{
|
||||
|
||||
$this->db->select('StudentID,scd.UniversityID,scd.CourseID,CourseName,scd.IsActive,CourseCode');
|
||||
$this->db->select('StudentID,scd.UniversityID,scd.CourseID,CourseName,scd.IsActive,CourseCode,um.UniversityName');
|
||||
$this->db->from('T_Student_CourseDetails scd');
|
||||
$this->db->join('T_CourseMaster cm','cm.CourseID=scd.CourseID');
|
||||
$this->db->join('T_UniversityMaster um','um.UniversityID=scd.UniversityID');
|
||||
$this->db->where('scd.StudentID',$search['studentId']);
|
||||
//$this->db->where('scd.IsActive','1');
|
||||
|
||||
@ -289,6 +290,8 @@ group by Student_id,cid";
|
||||
$result_array['details'] = 'No Records Found';
|
||||
}
|
||||
|
||||
//print_r($this->db->last_query());die();
|
||||
|
||||
|
||||
return $result_array;
|
||||
|
||||
|
||||
@ -165,7 +165,7 @@ app.controller('feetransferCtrl', ["$scope","$rootScope","toaster", "$filter", "
|
||||
//console.log(response)
|
||||
if (response.data.status==200 && response.data.courseStatus) {
|
||||
$scope.feeInfo=response.data.details;
|
||||
// console.log($scope.feeInfo);
|
||||
// console.log($scope.feeInfo);
|
||||
$scope.editId = P.ID;
|
||||
$scope.courselist =true;
|
||||
$scope.feecheck=false;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
ng-click="getpaidFeeDetails(myModel,p)">
|
||||
|
||||
<option value="" selected>Select</option>
|
||||
<option ng-repeat="item in feeInfo" value="{{item.CourseID}}">{{item.CourseName}}-{{item.CourseCode}}</option>
|
||||
<option ng-repeat="item in feeInfo" value="{{item.CourseID}}">{{item.CourseName}}-{{item.CourseCode}}({{item.UniversityName}})</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
@ -58,6 +58,7 @@
|
||||
</table>
|
||||
|
||||
<!-- </div> -->
|
||||
<!-- {{feeInfo}} -->
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3 form-group">
|
||||
@ -66,7 +67,7 @@
|
||||
ng-click="getTotalFeePaid(myModel,p)">
|
||||
|
||||
<option value="" selected>Select</option>
|
||||
<option ng-repeat="item in feeInfo" ng-if="item.IsActive==1" value="{{item.CourseID}}">{{item.CourseName}}-{{item.CourseCode}}</option>
|
||||
<option ng-repeat="item in feeInfo" ng-if="item.IsActive==1" value="{{item.CourseID}}">{{item.CourseName}}-{{item.CourseCode}}({{item.UniversityName}})</option>
|
||||
</select>
|
||||
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user