set fee
This commit is contained in:
parent
9c25325663
commit
bb89f21958
@ -873,6 +873,9 @@ $scope.setModel.feesType.SessionName = $scope.sessionDetails[0].SessionID;
|
||||
$scope.readonlycheck ="";
|
||||
$scope.lastsetfee ='';
|
||||
$scope.getStudentSetFees = function (ID,courseID,studeID) {
|
||||
|
||||
|
||||
alert('in')
|
||||
$scope.BatchDetails=[];
|
||||
$scope.sessionDetails=[];
|
||||
$scope.sessionDetailsTo=[];
|
||||
@ -971,6 +974,15 @@ $scope.setModel.feesType.SessionName = $scope.sessionDetails[0].SessionID;
|
||||
"givenDateObject":new Date(parts[2], parts[1] - 1, parts[0])
|
||||
})
|
||||
});
|
||||
|
||||
if($scope.BatchDetails.length == 0)
|
||||
{
|
||||
//console.log('null')
|
||||
$scope.setModel.feesType.BatchCode='Not applicable';
|
||||
}
|
||||
|
||||
|
||||
//console.log($scope.BatchDetails);
|
||||
// call service for make a list in desc order based on date
|
||||
$scope.BatchDetails=dateListDescService.getOrderByList($scope.BatchDetails);
|
||||
|
||||
|
||||
@ -72,13 +72,19 @@
|
||||
|
||||
<div class="col-md-3 form-group"
|
||||
ng-class="{'has-error':Form.setsessionname.$dirty && Form.setsessionname.$invalid, 'has-success':Form.setsessionname.$valid}" ng-if="setModel.feesType.Sem_Year!='TC' && setModel.feesType.Sem_Year!='PC' && setModel.feesType.Sem_Year!='DC' && setModel.feesType.Sem_Year!='MC' && setModel.feesType.Sem_Year!='OTHER'">
|
||||
<label ng-if="setModel.feesType.ProgramType=='P001' || setModel.feesType.ProgramType=='P002'">
|
||||
<!-- <label ng-if="setModel.feesType.ProgramType=='P001' || setModel.feesType.ProgramType=='P002'">
|
||||
Session From <span class="symbol required"></span>
|
||||
</label>
|
||||
<label ng-if="setModel.feesType.ProgramType=='Y001'">
|
||||
Session <span class="symbol required"></span>
|
||||
</label> -->
|
||||
|
||||
<label>
|
||||
Session <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
|
||||
|
||||
<select class="form-control" ng-disabled="readonlycheck !== false" name="setsessionname" tabindex="9" id="setsessionname"
|
||||
ng-model="setModel.feesType.SessionName"
|
||||
ng-options="sess.SessionID as sess.SessionName for sess in sessionDetails" ng-change="changeSessions(setModel.feesType,'1');" ng-disabled="setModel.feesType.ExistValue=='1' && userType=='R002'"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user