C# Class Purchasing.Mvc.Controllers.HistoryController

Disabling session state #1 because we don't need it, #2 so that we can call partial views and ajax calls in parallel (aka no lock on session)
Inheritance: ApplicationController
Show file Open project: ucdavis/Purchasing

Public Methods

Method Description
AccountsPayableOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate ) : System.Web.Mvc.ActionResult
AdminOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false ) : System.Web.Mvc.ActionResult

Page to view Administrative Workgroup Orders

Page to view Administrative Workgroup Orders

HistoryController ( IRepositoryFactory repositoryFactory, IOrderService orderService ) : System
Index ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false, bool showCreated = false ) : System.Web.Mvc.ActionResult

List of Orders

Private Methods

Method Description
PopulateModel ( List orders, FilteredOrderListModelDto model ) : void

Method Details

AccountsPayableOrders() public method

public AccountsPayableOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate ) : System.Web.Mvc.ActionResult
selectedOrderStatus string
startDate System.DateTime
endDate System.DateTime
startLastActionDate System.DateTime
endLastActionDate System.DateTime
return System.Web.Mvc.ActionResult

AdminOrders() public method

Page to view Administrative Workgroup Orders Page to view Administrative Workgroup Orders
public AdminOrders ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false ) : System.Web.Mvc.ActionResult
selectedOrderStatus string
startDate System.DateTime
endDate System.DateTime
startLastActionDate System.DateTime
endLastActionDate System.DateTime
showPending bool
return System.Web.Mvc.ActionResult

HistoryController() public method

public HistoryController ( IRepositoryFactory repositoryFactory, IOrderService orderService ) : System
repositoryFactory IRepositoryFactory
orderService IOrderService
return System

Index() public method

List of Orders
public Index ( string selectedOrderStatus, System.DateTime startDate, System.DateTime endDate, System.DateTime startLastActionDate, System.DateTime endLastActionDate, bool showPending = false, bool showCreated = false ) : System.Web.Mvc.ActionResult
selectedOrderStatus string Includes 3 that are not in our database
startDate System.DateTime For when Order was created
endDate System.DateTime For when Order was created
startLastActionDate System.DateTime For when Order was last acted on
endLastActionDate System.DateTime For when Order was last acted on
showPending bool Show orders pending your action
showCreated bool Only show orders you created
return System.Web.Mvc.ActionResult