C# Class Cats.Areas.Logistics.Controllers.TransportRequisitionController

Inheritance: Controller
ファイルを表示 Open project: edgecomputing/cats

Public Methods

Method Description
ConfirmGenerateTransportOrder ( int id ) : System.Web.Mvc.ActionResult
CreateTransportRequisition ( int regionId ) : System.Web.Mvc.ActionResult
Edit ( int id ) : ActionResult
GetCommodityRation ( int requisitionID, int commodityID ) : decimal
Index ( int id = -1 ) : ActionResult
PrintAttachment ( int id ) : ActionResult
PrintSummary ( int id ) : ActionResult
TransportRequisitionController ( ITransportRequisitionService transportRequisitionService, IWorkflowStatusService workflowStatusService, IUserAccountService userAccountService, ILog log, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, Cats.Services.EarlyWarning.IProgramService programService, IReliefRequisitionService reliefRequisitionService, IHubAllocationService hubAllocationService, IProjectCodeAllocationService projectCodeAllocationService, IReliefRequisitionDetailService reliefRequisitionDetailService, IRationService rationService, INotificationService notificationService ) : System
TransportRequisition_Read ( [ request, string searchIndex, int status ) : ActionResult

Private Methods

Method Description
Approve ( int id ) : System.Web.Mvc.ActionResult
ApproveConfirmed ( int TransportRequisitionID ) : System.Web.Mvc.ActionResult
BindTransportRequisition ( TransportRequisitionViewModel transportRequisitionViewModel ) : TransportRequisition
BindTransportRequisitionViewModel ( TransportRequisition transportRequisition ) : TransportRequisitionViewModel
Destinations ( int id, int transportRequistionId ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Edit ( TransportRequisitionViewModel transportRequisitionViewModel ) : ActionResult
GetDetail ( IEnumerable transportRequisitionDetails ) : List
Requisitions1 ( ) : ActionResult

Method Details

ConfirmGenerateTransportOrder() public method

public ConfirmGenerateTransportOrder ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

CreateTransportRequisition() public method

public CreateTransportRequisition ( int regionId ) : System.Web.Mvc.ActionResult
regionId int
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int id ) : ActionResult
id int
return ActionResult

GetCommodityRation() public method

public GetCommodityRation ( int requisitionID, int commodityID ) : decimal
requisitionID int
commodityID int
return decimal

Index() public method

public Index ( int id = -1 ) : ActionResult
id int
return ActionResult

PrintAttachment() public method

public PrintAttachment ( int id ) : ActionResult
id int
return ActionResult

PrintSummary() public method

public PrintSummary ( int id ) : ActionResult
id int
return ActionResult

TransportRequisitionController() public method

public TransportRequisitionController ( ITransportRequisitionService transportRequisitionService, IWorkflowStatusService workflowStatusService, IUserAccountService userAccountService, ILog log, Cats.Services.EarlyWarning.IAdminUnitService adminUnitService, Cats.Services.EarlyWarning.IProgramService programService, IReliefRequisitionService reliefRequisitionService, IHubAllocationService hubAllocationService, IProjectCodeAllocationService projectCodeAllocationService, IReliefRequisitionDetailService reliefRequisitionDetailService, IRationService rationService, INotificationService notificationService ) : System
transportRequisitionService ITransportRequisitionService
workflowStatusService IWorkflowStatusService
userAccountService IUserAccountService
log ILog
adminUnitService Cats.Services.EarlyWarning.IAdminUnitService
programService Cats.Services.EarlyWarning.IProgramService
reliefRequisitionService IReliefRequisitionService
hubAllocationService IHubAllocationService
projectCodeAllocationService IProjectCodeAllocationService
reliefRequisitionDetailService IReliefRequisitionDetailService
rationService IRationService
notificationService INotificationService
return System

TransportRequisition_Read() public method

public TransportRequisition_Read ( [ request, string searchIndex, int status ) : ActionResult
request [
searchIndex string
status int
return ActionResult