public ActionResult CashierDayEnd()
        {
            ViewData["Employees"] = DDRep.GetEmployeeList();
            ViewData["Movements"] = DDRep.GetMovementTypeList();
            ViewData["MoneyUnit"] = DDRep.GetMoneyUnitList();
            ViewData["ElectronicType"] = DDRep.GetElectronicFundTypeList();
            ViewData["ReconciliationTypeID"] = DDRep.GetCashReconList();
            ViewData["InstantMoneyType"] = DDRep.GetInstantMoneyType();
            ViewData["FNBType"] = DDRep.GetFNBType();
            ViewData["KwikPayType"] = DDRep.GetKwikPayType();

            CashMovementMultiple ins = new CashMovementMultiple();
            ins.Movements = new List<CashMovement>();

            for (int i = 1; i <= 12; i++)
            {
                ins.Movements.Add(new CashMovement());
                ins.Movements[i - 1].MoneyUnitID = i;
                ins.Movements[i - 1].moneyunit = MuRep.GetMoneyUnitString(i);
                ins.MovementTypeID = 1;
            }

            CashierDayEnd model = new CashierDayEnd();
            model.CashMovements = ins;
            model.SigmaSale = new CashReconciliation();
            model.SigmaSale.ReconciliationTypeID = 3;
            model.SigmaSale.MovementTypeID = 1;
            model.ElectronicFund = new ElectronicFund();
            model.ElectronicFund.MovementTypeID = 1;

            return View(model);
        }
        public ActionResult _MultipleCashMovements()
        {
            ViewData["Employees"] = DDRep.GetEmployeeList();
            ViewData["Movements"] = DDRep.GetMovementTypeList();
            ViewData["TransitType"] = DDRep.GetTransitType();

            CashMovementMultiple ins = new CashMovementMultiple();
            ins.Movements = new List<CashMovement>();

            for(int i = 1; i <= 12; i++)
            {
                ins.Movements.Add(new CashMovement());
                ins.Movements[i - 1].MoneyUnitID = i;
                ins.Movements[i - 1].moneyunit = MuRep.GetMoneyUnitString(i);
            }

            return PartialView(ins);
        }
        public ActionResult _InsertMultipleCash(CashMovementMultiple ins)
        {
            for (int i = 0; i < 12; i++)
            {
                ins.Movements[i].ActualDate = ins.ActualDate;
                ins.Movements[i].MovementTypeID = ins.MovementTypeID;
                ins.Movements[i].EmployeeID = ins.EmployeeID;
                ins.Movements[i].Amount = ins.Movements[i].Count * MuRep.GetMoneyUnitValue(ins.Movements[i].MoneyUnitID);
                ins.Movements[i] = CashRep.Insert(ins.Movements[i]);
            }

            return null;
        }