Documentation
¶
Index ¶
Constants ¶
View Source
const (
CSVContentType = "text/csv"
)
View Source
const (
ExcelContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
)
Variables ¶
This section is empty.
Functions ¶
func InventoryChangeLogsToExcel ¶
func InventoryChangeLogsToExcel(resp *pb.ExportInventoryChangeLogsResponse) ([]byte, error)
InventoryChangeLogsToExcel builds an Excel file from an export inventory change logs response.
func ItemsToExcel ¶
func ItemsToExcel(resp *pb.ExportItemsResponse) ([]byte, error)
ItemsToExcel builds an Excel file from an export items response.
func ReceivablesToCSV ¶
func ReceivablesToCSV(entries []*pb.ReceivableEntryProto) ([]byte, error)
ReceivablesToCSV builds a CSV file from a list of receivable entry protos.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.