public ActionResult CreateMemberLoanDisbursement(string Id) { int ID = string.IsNullOrEmpty(Id.DecryptString()) ? default(int) : Convert.ToInt32(Id.DecryptString()); char LoanType = 'M'; var groupLoanDisbursementDto = new GroupLoanDisbursementDto(); if (ID > 0) { LoadLoanInterestDropDowns(); groupLoanDisbursementDto = GetLoanDisbursementDto(ID, LoanType); if (groupLoanDisbursementDto.InterestMasterID > 0) { InterestMasterDto objInterestMasterDto = GetInterestDetailsDto(groupLoanDisbursementDto.InterestMasterID); groupLoanDisbursementDto.PrincipleAHName = objInterestMasterDto.PrincipalAHName; groupLoanDisbursementDto.InterestAHName = objInterestMasterDto.InterestName; groupLoanDisbursementDto.PrincipleAHId = Convert.ToInt32(objInterestMasterDto.PrincipalAHID); groupLoanDisbursementDto.InterestRateID = objInterestMasterDto.InterestRateID; groupLoanDisbursementDto.ROI = objInterestMasterDto.InterestRate; } List <SelectListDto> memberselectlist = _memberService.GetMemberCodeByGroupId(groupLoanDisbursementDto.GroupID); SelectList lstmembernames = new SelectList(memberselectlist, "id", "text"); ViewBag.membercodes = lstmembernames; } List <GroupMeetingDto> lstGroupMeetings = new GroupOtherReceiptService().GetGroupOpenMeetingDates(GroupInfo.GroupID); ViewBag.MonthMeetings = new SelectList(lstGroupMeetings, "DisplayMeetingDate", "DisplayMeetingDate"); TypeQueryResult lstBankAh = _masterService.GetTypeQueryResult("GROUP_OR_BANK_AH", GroupInfo.GroupID.ToString()); ViewBag.slBankAh = new SelectList(lstBankAh.OrderBy(a => a.Name), "Id", "Name"); return(View(groupLoanDisbursementDto)); }
public MemberLoanApplicationController() { _memberService = new MemberService(); _groupOtherReceiptService = new GroupOtherReceiptService(); _loanpurposeService = new LoanPurposeService(); _memberloanapplicationService = new MemberLoanApplicationService(); _projectService = new ProjectService(); }
public GroupMemberReceiptController() { _groupMemberReceiptService = new GroupMemberReceiptService(); _masterService = new MasterService(); _groupOtherReceiptService = new GroupOtherReceiptService(); _grpMbrRecptDto = new GroupMemberReceiptDto(); _grpMbrRcptDal = new GroupMemberReceiptDal(); }
public GroupOtherPaymentsController() { _masterService = new MasterService(); _accountheadService = new AccountHeadService(); //_groupGeneralReceiptService = new GroupGeneralReceiptService(); _groupOtherReceiptService = new GroupOtherReceiptService(); _groupOtherReceiptDto = new GroupOtherRecieptDto(); }
public FederationLoanApplicationController() { _clusterService = new ClusterService(); _groupService = new GroupService(); _ContraEntryService = new ContraEntryService(); _masterService = new MasterService(); _groupOtherReceiptService = new GroupOtherReceiptService(); _federationLoanApplicationService = new FederationLoanApplicationService(); }
private void LoadDropDowns() { List <GroupMeetingDto> lstGroupMeetings = new GroupOtherReceiptService().GetGroupOpenMeetingDates(GroupInfo.GroupID); ViewBag.MonthMeetings = new SelectList(lstGroupMeetings, "DisplayMeetingDate", "DisplayMeetingDate"); TypeQueryResult lstBankAh = _masterService.GetTypeQueryResult("GROUP_OR_BANK_AH", GroupInfo.GroupID.ToString()); ViewBag.slBankAh = new SelectList(lstBankAh.OrderBy(a => a.Name), "Id", "Name"); ViewBag.MeetingDueDay = GroupInfo.MeetingDay; ViewBag.RoleCode = UserInfo.RoleCode; }
public GroupGeneralPaymentController() { _masterService = new MasterService(); _groupGeneralPayemntService = new GroupGeneralPaymentsService(); _groupOtherReceiptService = new GroupOtherReceiptService(); }
public GroupOtherReceiptController() { _masterService = new MasterService(); _groupOtherReceiptService = new GroupOtherReceiptService(); _groupOtherReceiptDto = new GroupOtherRecieptDto(); }
public MemberPaymentController() { _masterService = new MasterService(); _groupMemberPayemntService = new GroupMemberPaymentService(); _groupOtherReceiptService = new GroupOtherReceiptService(); }