C# Class Cats.Areas.Procurement.Controllers.TransportOrderController

Inheritance: Controller
Mostra file Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
Approve ( int id ) : System.Web.Mvc.ActionResult
ChangeTransporters ( [ request, List listOfSubTransporterOrders, int changedTransportOrderID ) : System.Web.Mvc.ActionResult
Contract_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
CreateTransportOrder ( string saveButton, string cancelButton, int id ) : System.Web.Mvc.ActionResult
CreateTransportOrder ( string saveButton, string cancelButton, int id, int BidId = -1 ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
GenerateDispatchAllocation ( int id ) : System.Web.Mvc.ActionResult
GetRequisitionsWithoutTransporter ( int woredaId ) : TransportRequisitionWithTransporter
GetRequisitionsWithoutTransporter ( int woredaId, int transReqId ) : TransportRequisitionWithTransporter
GetWoredas ( int zoneId ) : System.Web.Mvc.JsonResult
GetWoredas ( int zoneId, int transReqId ) : System.Web.Mvc.JsonResult
GetZonesByTransReqNo ( int selectedValue ) : System.Web.Mvc.JsonResult
Index ( int id, int woredaId ) : System.Web.Mvc.ViewResult
Index ( int id, int woredaId, int transporterId, int zoneId, int transReqId ) : System.Web.Mvc.ViewResult
LoadUnAssinedByReqNo ( int id, int woredaId ) : System.Web.Mvc.ActionResult
LoadUnAssinedByReqNo ( int id, int woredaId, int zone, int transporter, int TransReqID ) : System.Web.Mvc.ActionResult
MultipleApproval ( ) : System.Web.Mvc.ActionResult
NotificationIndex ( int recordId ) : System.Web.Mvc.ActionResult
NotificationNewRequisitions ( int recordId ) : System.Web.Mvc.ActionResult
OrderDetail ( int id ) : System.Web.Mvc.ActionResult
Print ( int id ) : System.Web.Mvc.FileResult
Revert ( int id ) : System.Web.Mvc.ActionResult
RevertRequsitions ( ) : System.Web.Mvc.ActionResult
Signed ( int id ) : System.Web.Mvc.ActionResult
SuggestedSubstituteTransporters ( [ request, int changedTransportOrderID ) : System.Web.Mvc.ActionResult
TransReqWithoutTransporter_Read ( [ request ) : System.Web.Mvc.ActionResult
TransportOrder ( ) : System.Web.Mvc.ActionResult
TransportOrderController ( ITransportOrderService transportOrderService, ITransportRequisitionService transportRequisitionService, IWorkflowStatusService workflowStatusService, log4net.ILog log, ITransReqWithoutTransporterService transReqWithoutTransporterService, ITransportOrderDetailService transportOrderDetailService, IAdminUnitService adminUnitService, ITransporterService transporterService, ITransportBidQuotationService bidQuotationService ) : System
TransportOrderDetail ( int id ) : System.Web.Mvc.ActionResult
TransportOrder_Read ( [ request, int id, int programId, int regionId ) : System.Web.Mvc.ActionResult
reverseTOFromClosedtoDraft ( int id ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AssignTransporter ( TransportRequisitionWithTransporter requisitionWithTransporter ) : System.Web.Mvc.ActionResult
BindTransportOrderDetailViewModel ( TransportOrderDetail transportOrderDetail ) : TransportOrderDetailViewModel
Edit ( TransportOrder transportOrder ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
GetDetail ( IEnumerable transportOrderDetails ) : IEnumerable
GetRequsitionsViewModel ( IEnumerable reliefRequisitions ) : IEnumerable
GetTransReqWithoutTransporter ( IEnumerable transReqWithoutTransporter ) : IEnumerable
GetTransportContract ( TransportOrder transportOrder ) : IEnumerable
GetTransportOrder ( TransportOrder transportOrder ) : TransportContractViewModel
GetTransportOrderApprovalViewModel ( IEnumerable transportOrders ) : IEnumerable
GetTransportOrderReport ( TransportOrder transportOrder ) : TransportContractReportViewModel
MultipleApproval ( List transportOrderApprovalViewModels ) : System.Web.Mvc.ActionResult
RevertRequsitions ( List revertRequsitionsViewModels ) : System.Web.Mvc.ActionResult
TransportOrder_Update ( [ request, TransportOrderDetailViewModel orderDetails ) : System.Web.Mvc.ActionResult
TransportRequisitions ( ) : System.Web.Mvc.ViewResult

Method Details

Approve() public method

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

ChangeTransporters() public method

public ChangeTransporters ( [ request, List listOfSubTransporterOrders, int changedTransportOrderID ) : System.Web.Mvc.ActionResult
request [
listOfSubTransporterOrders List
changedTransportOrderID int
return System.Web.Mvc.ActionResult

Contract_Read() public method

public Contract_Read ( [ request, int id ) : System.Web.Mvc.ActionResult
request [
id int
return System.Web.Mvc.ActionResult

CreateTransportOrder() public method

public CreateTransportOrder ( string saveButton, string cancelButton, int id ) : System.Web.Mvc.ActionResult
saveButton string
cancelButton string
id int
return System.Web.Mvc.ActionResult

CreateTransportOrder() public method

public CreateTransportOrder ( string saveButton, string cancelButton, int id, int BidId = -1 ) : System.Web.Mvc.ActionResult
saveButton string
cancelButton string
id int
BidId int
return System.Web.Mvc.ActionResult

Details() public method

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

GenerateDispatchAllocation() public method

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

GetRequisitionsWithoutTransporter() public method

public GetRequisitionsWithoutTransporter ( int woredaId ) : TransportRequisitionWithTransporter
woredaId int
return Cats.Models.ViewModels.TransportRequisitionWithTransporter

GetRequisitionsWithoutTransporter() public method

public GetRequisitionsWithoutTransporter ( int woredaId, int transReqId ) : TransportRequisitionWithTransporter
woredaId int
transReqId int
return Cats.Models.ViewModels.TransportRequisitionWithTransporter

GetWoredas() public method

public GetWoredas ( int zoneId ) : System.Web.Mvc.JsonResult
zoneId int
return System.Web.Mvc.JsonResult

GetWoredas() public method

public GetWoredas ( int zoneId, int transReqId ) : System.Web.Mvc.JsonResult
zoneId int
transReqId int
return System.Web.Mvc.JsonResult

GetZonesByTransReqNo() public method

public GetZonesByTransReqNo ( int selectedValue ) : System.Web.Mvc.JsonResult
selectedValue int
return System.Web.Mvc.JsonResult

Index() public method

public Index ( int id, int woredaId ) : System.Web.Mvc.ViewResult
id int
woredaId int
return System.Web.Mvc.ViewResult

Index() public method

public Index ( int id, int woredaId, int transporterId, int zoneId, int transReqId ) : System.Web.Mvc.ViewResult
id int
woredaId int
transporterId int
zoneId int
transReqId int
return System.Web.Mvc.ViewResult

LoadUnAssinedByReqNo() public method

public LoadUnAssinedByReqNo ( int id, int woredaId ) : System.Web.Mvc.ActionResult
id int
woredaId int
return System.Web.Mvc.ActionResult

LoadUnAssinedByReqNo() public method

public LoadUnAssinedByReqNo ( int id, int woredaId, int zone, int transporter, int TransReqID ) : System.Web.Mvc.ActionResult
id int
woredaId int
zone int
transporter int
TransReqID int
return System.Web.Mvc.ActionResult

MultipleApproval() public method

public MultipleApproval ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

NotificationIndex() public method

public NotificationIndex ( int recordId ) : System.Web.Mvc.ActionResult
recordId int
return System.Web.Mvc.ActionResult

NotificationNewRequisitions() public method

public NotificationNewRequisitions ( int recordId ) : System.Web.Mvc.ActionResult
recordId int
return System.Web.Mvc.ActionResult

OrderDetail() public method

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

Print() public method

public Print ( int id ) : System.Web.Mvc.FileResult
id int
return System.Web.Mvc.FileResult

Revert() public method

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

RevertRequsitions() public method

public RevertRequsitions ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Signed() public method

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

SuggestedSubstituteTransporters() public method

public SuggestedSubstituteTransporters ( [ request, int changedTransportOrderID ) : System.Web.Mvc.ActionResult
request [
changedTransportOrderID int
return System.Web.Mvc.ActionResult

TransReqWithoutTransporter_Read() public method

public TransReqWithoutTransporter_Read ( [ request ) : System.Web.Mvc.ActionResult
request [
return System.Web.Mvc.ActionResult

TransportOrder() public method

public TransportOrder ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

TransportOrderController() public method

public TransportOrderController ( ITransportOrderService transportOrderService, ITransportRequisitionService transportRequisitionService, IWorkflowStatusService workflowStatusService, log4net.ILog log, ITransReqWithoutTransporterService transReqWithoutTransporterService, ITransportOrderDetailService transportOrderDetailService, IAdminUnitService adminUnitService, ITransporterService transporterService, ITransportBidQuotationService bidQuotationService ) : System
transportOrderService ITransportOrderService
transportRequisitionService ITransportRequisitionService
workflowStatusService IWorkflowStatusService
log log4net.ILog
transReqWithoutTransporterService ITransReqWithoutTransporterService
transportOrderDetailService ITransportOrderDetailService
adminUnitService IAdminUnitService
transporterService ITransporterService
bidQuotationService ITransportBidQuotationService
return System

TransportOrderDetail() public method

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

TransportOrder_Read() public method

public TransportOrder_Read ( [ request, int id, int programId, int regionId ) : System.Web.Mvc.ActionResult
request [
id int
programId int
regionId int
return System.Web.Mvc.ActionResult

reverseTOFromClosedtoDraft() public method

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