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

Inheritance: Controller
Mostrar archivo Open project: edgecomputing/cats Class Usage Examples

Public Methods

Method Description
Adjustement_Read ( [ request, int programId = -1, int hubId = -1, int commodityId = -1, int stockType = -1 ) : System.Web.Mvc.ActionResult
Adjustement_Save ( int programId = -1, int hubId = -1, int commodityId = -1, int stockType = -1 ) : System.Web.Mvc.ActionResult
Adjustment ( ) : System.Web.Mvc.ActionResult
CarryOverStock ( ) : System.Web.Mvc.ActionResult
CarryOverStock_read ( [ request, int hubId = -1, int programId = -1 ) : System.Web.Mvc.JsonResult
CommodityReceived_read ( [ request, int hubId = -1, int programId = -1 ) : System.Web.Mvc.JsonResult
DispatchCommodity ( ) : System.Web.Mvc.ActionResult
DispatchedReceived_read ( [ request, int hubId = -1, int programId = -1, int regionId = -1, int zoneId = -1 ) : System.Web.Mvc.JsonResult
ExportCarryOverStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
ExportReceivedCommodity ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
ExportSummaryFreePhysicalStock ( ) : System.Web.Mvc.ActionResult
ExportTransferredStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
FalseAndTrueGRNStockStatus ( ) : System.Web.Mvc.ActionResult
FlaseAndTueGRNStockStatus ( [ request, int programId = -1, int hubId = -1, System.DateTime date = default(DateTime) ) : System.Web.Mvc.ActionResult
GetFDPsByWoreda ( int woredaId = -1 ) : System.Web.Mvc.JsonResult
GetFreeAndphysicalStockStatus ( ) : System.Web.Mvc.JsonResult
GetHubs ( ) : System.Web.Mvc.ActionResult
GetPrograms ( ) : System.Web.Mvc.ActionResult
GetStockStatus ( int hub, int program, string date ) : System.Web.Mvc.JsonResult
GetStockStatusD ( int hub, int program, System.DateTime date ) : System.Web.Mvc.JsonResult
GetStockStatusN ( ) : System.Web.Mvc.JsonResult
GetStockStatusSummaryN ( ) : System.Web.Mvc.JsonResult
GetStockStatusSummaryP ( int program, System.DateTime date ) : System.Web.Mvc.JsonResult
GetWoredsByZone ( int zoneId = -1 ) : System.Web.Mvc.JsonResult
GetZonesByRegion ( int regionId = -1 ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
LogisticsStockStatusController ( IUnitOfWork unitOfWork, IUserDashboardPreferenceService userDashboardPreferenceService, IDashboardWidgetService dashboardWidgetservice, IUserAccountService userService, IHubService hubService, IStockStatusService stockStatusService, IAdminUnitService adminUnitService, IProgramService programService, IDonorService donorService ) : System
LogisticsStockStatusController ( IUnitOfWork unitOfWork, IUserDashboardPreferenceService userDashboardPreferenceService, IDashboardWidgetService dashboardWidgetservice, IUserAccountService userService, IHubService hubService, IStockStatusService stockStatusService, IAdminUnitService adminUnitService, IProgramService programService, IDonorService donorService, IUserProfileService userProfileService ) : System
PrintCarryOverStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
PrintReceivedCommodity ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
PrintSummaryFreePhysicalStock ( ) : System.Web.Mvc.ActionResult
PrintTransferredStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
ReceivedCommodity ( ) : System.Web.Mvc.ActionResult
Result ( ) : System.Web.Mvc.JsonResult
SummaryForFreeAndPhysicalStock ( ) : System.Web.Mvc.ActionResult
TransferredStock ( ) : System.Web.Mvc.ActionResult
TransferredStock_read ( [ request, int hubId = -1, int programId = -1 ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
AddFirstItem ( System.Web.Mvc.SelectList list ) : System.Web.Mvc.SelectList
Bind ( List receiveds ) : List
GetCarryOverStock ( int hubId, int programId, bool isPdf = true, bool isPortrait = true ) : System.Web.Mvc.ActionResult
GetReceivedCommodity ( int hubId, int programId, bool isPdf = true, bool isPortrait = true ) : System.Web.Mvc.ActionResult
GetSummaryFreePhysicalStock ( bool isPdf = true, bool isPortrait = true ) : System.Web.Mvc.ActionResult
GetTransferredStock ( int hubId, int programId, bool isPdf = true, bool isPortrait = true ) : System.Web.Mvc.ActionResult

Method Details

Adjustement_Read() public method

public Adjustement_Read ( [ request, int programId = -1, int hubId = -1, int commodityId = -1, int stockType = -1 ) : System.Web.Mvc.ActionResult
request [
programId int
hubId int
commodityId int
stockType int
return System.Web.Mvc.ActionResult

Adjustement_Save() public method

public Adjustement_Save ( int programId = -1, int hubId = -1, int commodityId = -1, int stockType = -1 ) : System.Web.Mvc.ActionResult
programId int
hubId int
commodityId int
stockType int
return System.Web.Mvc.ActionResult

Adjustment() public method

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

CarryOverStock() public method

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

CarryOverStock_read() public method

public CarryOverStock_read ( [ request, int hubId = -1, int programId = -1 ) : System.Web.Mvc.JsonResult
request [
hubId int
programId int
return System.Web.Mvc.JsonResult

CommodityReceived_read() public method

public CommodityReceived_read ( [ request, int hubId = -1, int programId = -1 ) : System.Web.Mvc.JsonResult
request [
hubId int
programId int
return System.Web.Mvc.JsonResult

DispatchCommodity() public method

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

DispatchedReceived_read() public method

public DispatchedReceived_read ( [ request, int hubId = -1, int programId = -1, int regionId = -1, int zoneId = -1 ) : System.Web.Mvc.JsonResult
request [
hubId int
programId int
regionId int
zoneId int
return System.Web.Mvc.JsonResult

ExportCarryOverStock() public method

public ExportCarryOverStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
hubId int
programId int
return System.Web.Mvc.ActionResult

ExportReceivedCommodity() public method

public ExportReceivedCommodity ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
hubId int
programId int
return System.Web.Mvc.ActionResult

ExportSummaryFreePhysicalStock() public method

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

ExportTransferredStock() public method

public ExportTransferredStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
hubId int
programId int
return System.Web.Mvc.ActionResult

FalseAndTrueGRNStockStatus() public method

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

FlaseAndTueGRNStockStatus() public method

public FlaseAndTueGRNStockStatus ( [ request, int programId = -1, int hubId = -1, System.DateTime date = default(DateTime) ) : System.Web.Mvc.ActionResult
request [
programId int
hubId int
date System.DateTime
return System.Web.Mvc.ActionResult

GetFDPsByWoreda() public method

public GetFDPsByWoreda ( int woredaId = -1 ) : System.Web.Mvc.JsonResult
woredaId int
return System.Web.Mvc.JsonResult

GetFreeAndphysicalStockStatus() public method

public GetFreeAndphysicalStockStatus ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

GetHubs() public method

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

GetPrograms() public method

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

GetStockStatus() public method

public GetStockStatus ( int hub, int program, string date ) : System.Web.Mvc.JsonResult
hub int
program int
date string
return System.Web.Mvc.JsonResult

GetStockStatusD() public method

public GetStockStatusD ( int hub, int program, System.DateTime date ) : System.Web.Mvc.JsonResult
hub int
program int
date System.DateTime
return System.Web.Mvc.JsonResult

GetStockStatusN() public method

public GetStockStatusN ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

GetStockStatusSummaryN() public method

public GetStockStatusSummaryN ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

GetStockStatusSummaryP() public method

public GetStockStatusSummaryP ( int program, System.DateTime date ) : System.Web.Mvc.JsonResult
program int
date System.DateTime
return System.Web.Mvc.JsonResult

GetWoredsByZone() public method

public GetWoredsByZone ( int zoneId = -1 ) : System.Web.Mvc.JsonResult
zoneId int
return System.Web.Mvc.JsonResult

GetZonesByRegion() public method

public GetZonesByRegion ( int regionId = -1 ) : System.Web.Mvc.JsonResult
regionId int
return System.Web.Mvc.JsonResult

Index() public method

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

LogisticsStockStatusController() public method

public LogisticsStockStatusController ( IUnitOfWork unitOfWork, IUserDashboardPreferenceService userDashboardPreferenceService, IDashboardWidgetService dashboardWidgetservice, IUserAccountService userService, IHubService hubService, IStockStatusService stockStatusService, IAdminUnitService adminUnitService, IProgramService programService, IDonorService donorService ) : System
unitOfWork IUnitOfWork
userDashboardPreferenceService IUserDashboardPreferenceService
dashboardWidgetservice IDashboardWidgetService
userService IUserAccountService
hubService IHubService
stockStatusService IStockStatusService
adminUnitService IAdminUnitService
programService IProgramService
donorService IDonorService
return System

LogisticsStockStatusController() public method

public LogisticsStockStatusController ( IUnitOfWork unitOfWork, IUserDashboardPreferenceService userDashboardPreferenceService, IDashboardWidgetService dashboardWidgetservice, IUserAccountService userService, IHubService hubService, IStockStatusService stockStatusService, IAdminUnitService adminUnitService, IProgramService programService, IDonorService donorService, IUserProfileService userProfileService ) : System
unitOfWork IUnitOfWork
userDashboardPreferenceService IUserDashboardPreferenceService
dashboardWidgetservice IDashboardWidgetService
userService IUserAccountService
hubService IHubService
stockStatusService IStockStatusService
adminUnitService IAdminUnitService
programService IProgramService
donorService IDonorService
userProfileService IUserProfileService
return System

PrintCarryOverStock() public method

public PrintCarryOverStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
hubId int
programId int
return System.Web.Mvc.ActionResult

PrintReceivedCommodity() public method

public PrintReceivedCommodity ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
hubId int
programId int
return System.Web.Mvc.ActionResult

PrintSummaryFreePhysicalStock() public method

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

PrintTransferredStock() public method

public PrintTransferredStock ( int hubId = -1, int programId = -1 ) : System.Web.Mvc.ActionResult
hubId int
programId int
return System.Web.Mvc.ActionResult

ReceivedCommodity() public method

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

Result() public method

public Result ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

SummaryForFreeAndPhysicalStock() public method

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

TransferredStock() public method

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

TransferredStock_read() public method

public TransferredStock_read ( [ request, int hubId = -1, int programId = -1 ) : System.Web.Mvc.JsonResult
request [
hubId int
programId int
return System.Web.Mvc.JsonResult