C# 클래스 Cats.Areas.Hub.Controllers.Allocations.ReceiptAllocationController

상속: BaseController
파일 보기 프로젝트 열기: edgecomputing/cats

공개 메소드들

메소드 설명
AllocationList ( string SInumber, int type ) : System.Web.Mvc.ActionResult
Close ( string id ) : System.Web.Mvc.ActionResult
Create ( int type ) : System.Web.Mvc.ActionResult
Delete ( string id ) : System.Web.Mvc.ActionResult
Edit ( String allocationId ) : System.Web.Mvc.ActionResult
Edit2 ( String allocationId ) : System.Web.Mvc.ActionResult
FromHubs ( ) : System.Web.Mvc.ActionResult
GenerateProjectCode ( string SINumber, int DonorID, int CommodityID, Decimal QuantityInMT ) : System.Web.Mvc.ActionResult
GetAvailableSINumbers ( ) : System.Web.Mvc.ActionResult
GetAvailableSINumbersAsText ( bool AllSIs, int commoditySoureType ) : System.Web.Mvc.ActionResult
GetBalance ( string siNumber, int commodityId ) : System.Web.Mvc.ActionResult
GetSIBalances ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
LoadByAllocationIdPartial ( string allocationId ) : System.Web.Mvc.ActionResult
LoadBySIPartial ( string SInumber, int type ) : System.Web.Mvc.ActionResult
Loans ( ) : System.Web.Mvc.ActionResult
LocalPurchase ( ) : System.Web.Mvc.ActionResult
QuantityNotValid ( Decimal QuantityInMt, string SINumber ) : System.Web.Mvc.ActionResult
ReceiptAllocationController ( IReceiptAllocationService receiptAllocationService, IUserProfileService userProfileService, ICommoditySourceService commoditySourceService, IGiftCertificateService giftCertificateService, ICommodityService commodityService, IDonorService donorService, IGiftCertificateDetailService giftCertificateDetailService, IHubService hubService, IProgramService programService, ICommodityTypeService commodityTypeService, IShippingInstructionService shippingInstructionService ) : System
SIMustBeInGift ( string SINUmber, int CommoditySourceID ) : System.Web.Mvc.ActionResult
SINotUnique ( string SINUmber, int CommoditySourceID ) : System.Web.Mvc.ActionResult
SelfReference ( int HubID, int SourceHubID ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
BindReceiptAllocaitonViewModel ( ) : ReceiptAllocationViewModel
CloseAjax ( string ReceiptAllocationID ) : System.Web.Mvc.ActionResult
CloseConfirmed ( string id ) : System.Web.Mvc.ActionResult
CommitAllocation ( string checkedRecords, int SINumber ) : System.Web.Mvc.ActionResult
Create ( ReceiptAllocationViewModel receiptAllocationViewModel ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( string id ) : System.Web.Mvc.ActionResult
Edit ( ReceiptAllocationViewModel receiptAllocationViewModel ) : System.Web.Mvc.ActionResult
Edit2 ( ReceiptAllocationViewModel receiptAllocationViewModel ) : System.Web.Mvc.ActionResult
FromReceiptAllocationViewModel ( ReceiptAllocationViewModel viewModel, ReceiptAllocation entityModel ) : ReceiptAllocation
IsSIValid ( string SINumber, int CommoditySourceID ) : bool

메소드 상세

AllocationList() 공개 메소드

public AllocationList ( string SInumber, int type ) : System.Web.Mvc.ActionResult
SInumber string
type int
리턴 System.Web.Mvc.ActionResult

Close() 공개 메소드

public Close ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

Create() 공개 메소드

public Create ( int type ) : System.Web.Mvc.ActionResult
type int
리턴 System.Web.Mvc.ActionResult

Delete() 공개 메소드

public Delete ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

Edit() 공개 메소드

public Edit ( String allocationId ) : System.Web.Mvc.ActionResult
allocationId String
리턴 System.Web.Mvc.ActionResult

Edit2() 공개 메소드

public Edit2 ( String allocationId ) : System.Web.Mvc.ActionResult
allocationId String
리턴 System.Web.Mvc.ActionResult

FromHubs() 공개 메소드

public FromHubs ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

GenerateProjectCode() 공개 메소드

public GenerateProjectCode ( string SINumber, int DonorID, int CommodityID, Decimal QuantityInMT ) : System.Web.Mvc.ActionResult
SINumber string
DonorID int
CommodityID int
QuantityInMT Decimal
리턴 System.Web.Mvc.ActionResult

GetAvailableSINumbers() 공개 메소드

public GetAvailableSINumbers ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

GetAvailableSINumbersAsText() 공개 메소드

public GetAvailableSINumbersAsText ( bool AllSIs, int commoditySoureType ) : System.Web.Mvc.ActionResult
AllSIs bool
commoditySoureType int
리턴 System.Web.Mvc.ActionResult

GetBalance() 공개 메소드

public GetBalance ( string siNumber, int commodityId ) : System.Web.Mvc.ActionResult
siNumber string
commodityId int
리턴 System.Web.Mvc.ActionResult

GetSIBalances() 공개 메소드

public GetSIBalances ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

LoadByAllocationIdPartial() 공개 메소드

public LoadByAllocationIdPartial ( string allocationId ) : System.Web.Mvc.ActionResult
allocationId string
리턴 System.Web.Mvc.ActionResult

LoadBySIPartial() 공개 메소드

public LoadBySIPartial ( string SInumber, int type ) : System.Web.Mvc.ActionResult
SInumber string
type int
리턴 System.Web.Mvc.ActionResult

Loans() 공개 메소드

public Loans ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

LocalPurchase() 공개 메소드

public LocalPurchase ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

QuantityNotValid() 공개 메소드

public QuantityNotValid ( Decimal QuantityInMt, string SINumber ) : System.Web.Mvc.ActionResult
QuantityInMt Decimal
SINumber string
리턴 System.Web.Mvc.ActionResult

ReceiptAllocationController() 공개 메소드

public ReceiptAllocationController ( IReceiptAllocationService receiptAllocationService, IUserProfileService userProfileService, ICommoditySourceService commoditySourceService, IGiftCertificateService giftCertificateService, ICommodityService commodityService, IDonorService donorService, IGiftCertificateDetailService giftCertificateDetailService, IHubService hubService, IProgramService programService, ICommodityTypeService commodityTypeService, IShippingInstructionService shippingInstructionService ) : System
receiptAllocationService IReceiptAllocationService
userProfileService IUserProfileService
commoditySourceService ICommoditySourceService
giftCertificateService IGiftCertificateService
commodityService ICommodityService
donorService IDonorService
giftCertificateDetailService IGiftCertificateDetailService
hubService IHubService
programService IProgramService
commodityTypeService ICommodityTypeService
shippingInstructionService IShippingInstructionService
리턴 System

SIMustBeInGift() 공개 메소드

public SIMustBeInGift ( string SINUmber, int CommoditySourceID ) : System.Web.Mvc.ActionResult
SINUmber string
CommoditySourceID int
리턴 System.Web.Mvc.ActionResult

SINotUnique() 공개 메소드

public SINotUnique ( string SINUmber, int CommoditySourceID ) : System.Web.Mvc.ActionResult
SINUmber string
CommoditySourceID int
리턴 System.Web.Mvc.ActionResult

SelfReference() 공개 메소드

public SelfReference ( int HubID, int SourceHubID ) : System.Web.Mvc.ActionResult
HubID int
SourceHubID int
리턴 System.Web.Mvc.ActionResult