Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VendorServiceURL = "http://localhost:4000/api/vendors?type=manufacturing"
Functions ¶
This section is empty.
Types ¶
type Currency ¶
func GetCurrencies ¶
func GetCurrencies() []*Currency
type PODetail ¶
type PODetail struct { ID int `json:"id"` Line int `json:"line"` PartNumber string `json:"partNumber"` Description string `json:"description"` Quantity float32 `json:"quantity"` DueDate time.Time `json:"dueDate"` UnitOfMeasure string `json:"unitOfMeasure"` PricePer float64 `json:"pricePer"` Status string `json:"status"` }
type PurchaseOrder ¶
type PurchaseOrder struct { ID int `json:"id"` Receiver *Receiver `json:"receiver"` Vendor *Vendor `json:"vendor"` Currency *Currency `json:"currency"` Purpose string `json:"purpose"` DueDate time.Time `json:"dueDate"` Status string `json:"status"` Details []*PODetail `json:"details"` }
func GetOrder ¶
func GetOrder(id int) (*PurchaseOrder, error)
func SaveOrder ¶
func SaveOrder(order *PurchaseOrder) *PurchaseOrder
type Receiver ¶
func GetReceivers ¶
func GetReceivers() []*Receiver
type ReceiverDto ¶
Click to show internal directories.
Click to hide internal directories.