co_enum_invoice

package
v0.1.114 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuditType = auditType{
	WaitReview: enum.New[AuditTypeEnum](0, "待审核"),
	Approve:    enum.New[AuditTypeEnum](1, "通过"),
	Reject:     enum.New[AuditTypeEnum](-1, "不通过"),
}
View Source
var Invoice = invoice{
	AuditType: AuditType,
	State:     State,
	MakeType:  MakeType,
}
View Source
var MakeType = makeType{
	Normal:  enum.New[TypeEnum](1, "普通发票"),
	Special: enum.New[TypeEnum](2, "增值税专用发票"),
	// contains filtered or unexported fields
}
View Source
var State = state{
	WaitAudit:      enum.New[StateEnum](1, "待审核"),
	WaitForInvoice: enum.New[StateEnum](2, "待开票"),
	Failure:        enum.New[StateEnum](4, "开票失败"),
	Success:        enum.New[StateEnum](8, "已开票"),
	Cancel:         enum.New[StateEnum](16, "已撤销"),
}

Functions

This section is empty.

Types

type AuditTypeEnum

type AuditTypeEnum enum.IEnumCode[int]

type StateEnum

type StateEnum enum.IEnumCode[int]

type TypeEnum

type TypeEnum enum.IEnumCode[int]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL