Esempio n. 1
0
        public ActionResult ResultClientMaster(int id)
        {
            MainApplication model = new MainApplication()
            {
                ClientBankDetails = new ClientBankDetail(),
            };

            model.ClientDetails        = _ClientMasterService.getById(id);
            TempData["ClientList"]     = _ClientMasterService.GetAllClients();
            model.ClientBankDetailList = _ClientBankDetailService.GetDetailsFromBank(model.ClientDetails.ClientCode);
            return(View(model));
        }
Esempio n. 2
0
        public ActionResult ReplicaCompany(FormCollection frmcol)
        {
            string Company = frmcol["CompanyNameWithFinancial"];

            CompanyCode  = Company.Substring(0, 9);
            DatabaseName = Company.Substring(10);
            TempData["LogedInCompanyCode"] = CompanyCode;
            TempData["BankMasters"]        = _BankService.getAllBanks();
            TempData["ClientMasters"]      = _ClientMasterService.GetAllClients();
            TempData["ClientBanks"]        = _ClientBankDetailService.GetAllClientBanks();
            TempData["DesignationMasters"] = _DesignationMasterService.getAllDesignation();
            TempData["DesignMasters"]      = _DesignService.GetAll();
            TempData["BrandMasters"]       = _BrandMasterService.GetAllBrands();
            TempData["EmployeeMasters"]    = _EmployeeMasterService.getAllemployees();
            TempData["GodownMasters"]      = _GodownService.GetGodownNames();
            TempData["GodownAddresses"]    = _GodownAddressService.GetAllGodownAddresses();
            TempData["ItemCategory"]       = _ItemCategoryService.GetItemCategories();
            TempData["ItemSubCategory"]    = _ItemSubCategoryService.GetItemSubCategories();
            TempData["ItemMasters"]        = _ItemService.getAllItems();
            TempData["NonInventoryItems"]  = _NonInventoryItemService.GetAll();
            TempData["BarcodeNumbers"]     = _BarcodeNumberService.GetAllBarcodeNumbers();
            TempData["JobWorkers"]         = _JobWorkerService.GetAll();
            TempData["JobWorkerTypes"]     = _JobWorkTypeService.GetAll();
            //TempData["SalesIncentives"] = _SalesIncentiveService.GetAllSI();
            TempData["ShopMasters"]       = _ShopService.GetAll();
            TempData["TypeOfMaterials"]   = _TypeOfMaterialService.GetMaterialList();
            TempData["UnitMasters"]       = _UnitService.getallsize();
            TempData["SupplierMasters"]   = _SuppliersMasterService.getAllSuppliers();
            TempData["SupplierBanks"]     = _SupplierBankDetailService.GetAllSupplierBanks();
            TempData["TransportMasters"]  = _TransportService.GetAllTransport();
            TempData["TransportBanks"]    = _TransportBankDetailService.GetAllTransportBanks();
            TempData["Users"]             = _UserService.getAllusers();
            TempData["CommissionMasters"] = _CommissionService.GetAll();
            TempData["Modules"]           = _ModuleService.getAllModules();
            TempData["UserCredentials"]   = _UserCredentialService.GetAllUserCredentials();
            TempData["EmployeeCompanies"] = _EmployeesCompanyService.GetAllEmployeeCompanies();
            return(RedirectToAction("ReplicateTheValues"));
        }