Example #1
0
        public ActionResult MonthlySummary( )
        {
            var bus = BusinessAccessLayer.BALFuel.BALGetBuses();
            //var dipotype = BusinessAccessLayer.BusBAL.BALGetAllDipo();
            GamanViewModel model = new GamanViewModel
            {
                bus = new SelectList(bus, "BusID", "BusNumber")
            };


            return(PartialView(@"~/Views\\Reports\MonthlySummary.cshtml", model));
        }
Example #2
0
        public ActionResult GamanPatra()
        {
            var bus      = BusinessAccessLayer.BALFuel.BALGetBuses();
            var dipotype = BusinessAccessLayer.BusBAL.BALGetAllDipo();

            GamanViewModel gamanmodel = new GamanViewModel
            {
                bus  = new SelectList(bus, "BusID", "BusNumber"),
                dipo = new SelectList(dipotype.DipoList, "DipoID", "DipoName"),
                GamanPatraSerialNumber = WayBillBAL.BALGetGamanPatra()
            };

            return(PartialView(@"~/Views\\WayBill\_gamanPatra.cshtml", gamanmodel));
        }