Esempio n. 1
0
        public ActionResult Index()
        {
            ProductTransactions_Index viewProductTransactions_Index = new ProductTransactions_Index();

            viewProductTransactions_Index.StartDate = GetFirstInMonth(DateTime.Now.AddMonths(-1)).ToShortDateString();
            viewProductTransactions_Index.EndDate   = GetLastInMonth(DateTime.Now.AddMonths(-1)).ToShortDateString();

            viewProductTransactions_Index.ClientsList   = Clients.GetClientListForDropdown();
            viewProductTransactions_Index.BillingGroups = Invoices.GetBillingGroupList();
            int SplitMode = 1;

            //viewProductTransactions_Index.ClientsListBySplitMode = Clients.GetClientListBySplitModeForDropdown(SplitMode,Convert.ToDateTime(viewProductTransactions_Index.StartDate),Convert.ToDateTime(viewProductTransactions_Index.EndDate));

            return(View(viewProductTransactions_Index));
        }