issue no:1669

This commit is contained in:
venbatechnologies@gmail.com 2019-02-19 18:24:52 +05:30
parent c0ccf33aa0
commit 795b07dcbd
3 changed files with 13 additions and 8 deletions

View File

@ -266,6 +266,7 @@ group by Student_id,cid";
$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->group_by('CourseID');
//$this->db->where('scd.IsActive','1');
// if($search['University']!='')
@ -290,7 +291,7 @@ group by Student_id,cid";
$result_array['details'] = 'No Records Found';
}
//print_r($this->db->last_query());die();
// print_r($this->db->last_query());die();
return $result_array;
@ -308,9 +309,10 @@ group by Student_id,cid";
// $qry="select * from T_Students_Fees_PaidDetails where StudentID='".$search['studentId']."' and FeesId=(select FeesID from T_Students_Fees_Status where StudentID='".$search['studentId']."' and CourseID='".$search['CourseId']."')";
$qry="select * from T_Students_Fees_PaidDetails sfp
$qry="select sfp.ID as ID,BillNO,BillDate,Sem_Year,ModeOfPayment,BillAmount,sfs.FeesID as FeesID from T_Students_Fees_PaidDetails sfp
Join T_Students_Fees_Status sfs on sfs.FeesID= sfp.FeesId
where sfp.StudentID='".$search['studentId']."' and sfs.CourseID='".$search['CourseId']."';";
join T_Course_Fees_Details cfd on cfd.CourseID=sfs.CourseID and cfd.ID=sfs.FeesType
where sfp.StudentID='".$search['studentId']."' and sfs.CourseID='".$search['CourseId']."'";
$fee=$this->db->query($qry);
$feepaid = $fee->result();
@ -331,7 +333,7 @@ where sfp.StudentID='".$search['studentId']."' and sfs.CourseID='".$search['Cour
$result_array['feepaiddetails'] = 'No Records Found';
}
// print_r($this->db->last_query());die();
// print_r($this->db->last_query());die();
return $result_array;
@ -341,8 +343,9 @@ where sfp.StudentID='".$search['studentId']."' and sfs.CourseID='".$search['Cour
public function UpdateFeePaidDetails($search,$selectFeeIDs)
{
// print_r($search);
// print_r($search);
// print_r($selectFeeIDs);
// die();
foreach ($selectFeeIDs as $keyy => $vvalue)

View File

@ -230,7 +230,7 @@ $scope.TransferAmt=0;
if (response.data.status==200 && response.data.feeStatus) {
$scope.FeePaidDetails = response.data.feepaiddetails;
//sconsole.log($scope.FeePaidDetails);
// console.log($scope.FeePaidDetails);
$scope.feedetstatus=true;
@ -266,9 +266,9 @@ $scope.TransferAmt=0;
// console.log(myModel);
// console.log(p);
// console.log(updateModel);
// console.log($scope.selectedfeeID);
//console.log($scope.selectedfeeID);
//console.log(myModel.totalpaidfee);
// return false;
//return false;
// console.log(myModel.Activecourse);
if($scope.selectedfeeID.length == 0)

View File

@ -32,6 +32,7 @@
<th></th>
<th style="font-size: 12px;">BillNO</th>
<th style="font-size: 12px;">BillDate</th>
<th style="font-size: 12px;">Sem/Year</th>
<th style="font-size: 12px">ModeOfPayment</th>
<th style="font-size: 12px;">BillAmount</th>
<!-- <th style="font-size: 12px;">Action</th> -->
@ -47,6 +48,7 @@
<td>{{p.BillNO}}</td>
<td>{{p.BillDate}}</td>
<td>{{p.Sem_Year}}</td>
<td>{{p.ModeOfPayment}}</td>
<td>{{p.BillAmount}}</td>