public SalaryProcessDetailsVM SaveSalaryProcessD(SalaryProcessDetailsVM salary) { if (!salary.EditFlag) { salary.PRSP001_Code = _CodeRep.GetCode(salary.CmpyCode, "SalaryProcess"); } return(_salaryrepo.SaveSalaryProcessD(salary)); }
// public List<dateYm> GetMonthlist() // { // return _Pyroll.GetMonthlist().Select(m => new dateYm // { // Code=m.Code, // Month1=m.Month1 // }).ToList(); // } public PyrollConfi_Vm GetPayrollNew(string CmpyCode) { return(new PyrollConfi_Vm { PRCNF001_CODE = _codeRep.GetCode(CmpyCode, "PyrollConfi"), NationalityList = GetNationList(CmpyCode), EditFlag = false }); }
public Finalsettalment_VM GetFinalSettalmentNew(string CmpyCode) { return(new Finalsettalment_VM { EmpCodeList = GetEmpCodes(CmpyCode, "Y"), PRFSET001_code = _CodeRep.GetCode(CmpyCode, "FinalSettalment"), EditFlag = false }); }
public ProjectAllotmentVM NewProjectAllotment(string CmpyCode) { return(new ProjectAllotmentVM { PRPRJE001_code = _CodeRep.GetCode(CmpyCode, "EMPProjectAllotment"), EmpCodeList = GetEmpCodes(CmpyCode), CCH004_codeList = GetProjectCodes(CmpyCode), EditFlag = false }); }
public LoanAppliationVM GetLoanAppNew(string CmpyCode) { return(new LoanAppliationVM { PRLA001_CODE = _CodeRep.GetCode(CmpyCode, "LoanAppliation"), EmpCodeList = GetEmpCodes(CmpyCode), LoanTypeList = GetPRLM001(CmpyCode), EditFlag = false }); }
public BankMasterVM GetBnkNew(string CmpyCode) { return(new BankMasterVM { prbm001_code = _codeRep.GetCode(CmpyCode, "BankMaster"), CountryList = GetCountryCodes(CmpyCode), Branch = new List <BankBr>(), BranchM = new BankBr(), EditFlag = false }); }
public SalarMpayrollVM GetSalaryNew(string CMPYCODE, string PRSM001_CODE) { return(new SalarMpayrollVM { SalaryMas = new List <SalaryGrid>(), SMEarning = new SalaryGrid(), EmpCodeList = GetEmpCodes(CMPYCODE), PRSM001_CODE = _codeRep.GetCode(CMPYCODE, "Salary Master"), EditFlag = false }); }
public ShiftMasterVM NewShift(string CmpyCode) { return(new ShiftMasterVM { PRSFT001_code = _codeRep.GetCode(CmpyCode, "ShiftMaster"), Shift = new List <ShiftAllocationH>(), ShiftM = new ShiftAllocationH(), CountryList = GetCountryCodes(CmpyCode), EditFlag = false }); }
public EmpShiftVM NewEmpShift(string CmpyCode) { return(new EmpShiftVM { PRSFT003_code = _CodeRep.GetCode(CmpyCode, "EMPShiftMaster"), // EmpCodeList = GetEmpCodes(CmpyCode), // ShiftCode = GetShiftCodes(CmpyCode), // ShiftCodeAlloc = GetShiftAllocCode(CmpyCode, "0"), EditFlag = false }); }
public MonthlyAdddedVM GetMonthlyAdddedNew(string CmpyCode) { return(new MonthlyAdddedVM { PRADN001_CODE = _CodeRep.GetCode(CmpyCode, "MonthlyAddded"), MonthlyAddded = new List <MonthlyAdddeddet1>(), MonthlyAdddedM = new MonthlyAdddeddet1(), //EmpNameList = GetEmpCodeList(CmpyCode), EditFlag = false }); }
public Leave_App_VW GetLeaveAppDetailsNew(string CmpyCode) { return(new Leave_App_VW { PRLR001_CODE = _CodeRep.GetCode(CmpyCode, "LeaveApplication"), // EmpCodeList = GetEmpCodeList(CmpyCode,"L"), // LeaveTypeList=GetLeaveTypList(CmpyCode), LeaveApplicationnews = new List <LeaveApplicationDetail>(), LeaveDetail = new LeaveApplicationnews(), IsEditMode = false }); }
public PurchaseReqVM GetPOMasterDetailsNew(string CmpyCode) { return(new PurchaseReqVM { MRCode = _CodeRep.GetCode(CmpyCode, "MR"), ProjectList = GetProjects(CmpyCode), ItemCodeList = GetItemCodeList(CmpyCode, "M"), LocationList = GetLocationList(CmpyCode), RequesterList = GetRequesterList(CmpyCode), PurchaseOrderDetails = new List <PurchaseOrderDetail>(), PODetail = new PurchaseOrderDetail(), UnitList = GetUnits(CmpyCode), IsEditMode = false }); }
public Employee_VM SavePurchaseOrder(Employee_VM employeemaster) { if (!employeemaster.IsEditMode) { employeemaster.EmpCode = _CodeRep.GetCode(employeemaster.Cmpycode, "EmployeeMaster"); } return(_EmployeeMgmtRepo.SavePurchaseOrder(employeemaster)); }
public FFM_CRG_Group_VM GetFFM_CRG_GroupAddNew(string Cmpycode) { return(new FFM_CRG_Group_VM { FFM_CRG_GROUP_CODE = _CodeRep.GetCode(Cmpycode, "CRG_Group"), EditFlag = false }); }
public FFM_VESSEL_VM GetFFM_VESSELAddNew(string Cmpycode) { return(new FFM_VESSEL_VM { //COUNTRYList=GetNationList(Cmpycode), //ContainerList=GetContainer(Cmpycode), FFM_VESSEL_CODE = _CodeRep.GetCode(Cmpycode, "FFMVessalCode"), EditFlag = false }); }
//hii public FFM_CRG_VM FM_CRG_001AddNew(string CmpyCode) { return(new FFM_CRG_VM { //CRG_GROUP_CODEList = GetCRG_Group(CmpyCode), //CRG_job_CODEList=GetJobCode(CmpyCode), //IncomeACTList= GetIncomeAct(CmpyCode), FFM_CRG_001_CODE = _CodeRep.GetCode(CmpyCode, "CRGM_001"), EditFlag = false }); }
public LeaveSettlementVM SaveLiv(LeaveSettlementVM Liv) { if (!Liv.EditFlag) { Liv.PRLS001_CODE = _CodeRep.GetCode(Liv.CMPYCODE, "LeaveSettlement"); } Liv.COUNTRY = _CodeRep.GetCountryP(Liv.CMPYCODE, Liv.Entry_Date); Liv.DIVISION = _CodeRep.GetDiv(Liv.CMPYCODE, Liv.Empcode); if (Liv.COUNTRY == null) { Liv.SaveFlag = false; Liv.ErrorMessage = "PayRoll Config not Generated"; return(Liv); } else { return(_LvPayrollRepo.SaveLiv(Liv)); } }
public SalaryProcessDVM GetNewbtnsalaryPrcesspaymentDetails(string CmpyCode) { List <SessionListnew> list = HttpContext.Current.Session["SesDet"] as List <SessionListnew>; return(new SalaryProcessDVM { // AccNoList = GetAccList(CmpyCode, "EXP"), PRSPD001_CODE = _CodeRep.GetCode(CmpyCode, "SalryProcessDetail"), // DivisionList = GetDivCodeList(CmpyCode), // DIVISION = list[0].Divcode.ToString(), // VisaLocationList = GetVisLocList(CmpyCode), // DepartmentList = GetDepartmentList(CmpyCode, list[0].Divcode) }); }
public PurchaseOrderVM GetPOMasterDetailsNew(string CmpyCode) { return(new PurchaseOrderVM { MRCode = _CodeRep.GetCode(CmpyCode, "PurchaseOrder"), ProjectList = GetProjects(CmpyCode), ItemCodeList = GetItemCodeList(CmpyCode, "M"), LocationList = GetLocationList(CmpyCode), RequesterList = GetRequesterList(CmpyCode), SupplierList = GetSupplierList(CmpyCode), DivisionCodeList = GetDivisionList(CmpyCode), CurList = GetCurList(CmpyCode), POfromList = GetPOFromList("POType"), POReqList = GetPOReqList(CmpyCode), PurchaseOrderDetailsnew = new List <PurchaseOrderDetailnew>(), PODetail = new PurchaseOrderDetailnew(), UnitList = GetUnits(CmpyCode), IsEditMode = false }); }
public string GetMasterCode(string CmpyCode) { string code = _CodeRep.GetCode(CmpyCode, "FrightBranch"); return(code); }