internal void SetParentDetail(Parent parent)
        {
            if (parent != null)
            {
                RefreshList();

                var detailsFee = FeeDetailRepo.GetChildrenFeeDetail(parent.ParentID, SessionID);

                var stdList = StudentRepo.GetChildren(parent.ParentID);

                foreach (var item in stdList)
                {
                    var singleStd = detailsFee.LastOrDefault(p => p.StudentID == item.StudentID && p.SectionID == item.SectionID && p.ClassID == item.ClassID);

                    if (singleStd.DecidedFee <= 0)
                    {
                        singleStd.DecidedFee = item.MonthlyFee;
                    }
                    if (singleStd.RemainingFee == 0 && singleStd.DecidedFee > singleStd.PaidFee)
                        singleStd.RemainingFee = singleStd.DecidedFee;

                    
                    ChildrenFeeDetailList = ChildrenFeeDetailList.Add(singleStd);
                }
            }
        }
 internal void SetParentDetail(Parent parent)
 {
     ParentDetail = parent;
     ParentDetail.isNew = false;
 }