Documentation ¶
Index ¶
- Variables
- func CommodityColor(db api.Datastorer, comm *dblentry.Commodity, text string) (out interface{})
- func Indent(keys []string) []string
- func NewReporter(args []string) (reporter api.Reporter, err error)
- type RCformat
- type ReportBalance
- func (report *ReportBalance) BubblePosting(db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
- func (report *ReportBalance) Clone() api.Reporter
- func (report *ReportBalance) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportBalance) Posting(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportBalance) Render(args []string, db api.Datastorer)
- func (report *ReportBalance) Startjournal(fname string, included bool)
- func (report *ReportBalance) Transaction(db api.Datastorer, trans api.Transactor) error
- type ReportEquity
- func (report *ReportEquity) BubblePosting(db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
- func (report *ReportEquity) Clone() api.Reporter
- func (report *ReportEquity) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportEquity) Posting(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportEquity) Render(args []string, db api.Datastorer)
- func (report *ReportEquity) Startjournal(fname string, included bool)
- func (report *ReportEquity) Transaction(db api.Datastorer, trans api.Transactor) error
- type ReportList
- func (report *ReportList) BubblePosting(_ api.Datastorer, _ api.Transactor, _ api.Poster, _ api.Accounter) error
- func (report *ReportList) Clone() api.Reporter
- func (report *ReportList) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportList) Posting(_ api.Datastorer, _ api.Transactor, _ api.Poster) error
- func (report *ReportList) Render(args []string, ndb api.Datastorer)
- func (report *ReportList) Startjournal(fname string, included bool)
- func (report *ReportList) Transaction(_ api.Datastorer, _ api.Transactor) error
- type ReportPassbook
- func (report *ReportPassbook) BubblePosting(db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
- func (report *ReportPassbook) Clone() api.Reporter
- func (report *ReportPassbook) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportPassbook) Posting(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportPassbook) Render(args []string, db api.Datastorer)
- func (report *ReportPassbook) Startjournal(fname string, included bool)
- func (report *ReportPassbook) Transaction(db api.Datastorer, trans api.Transactor) error
- type ReportPrint
- func (report *ReportPrint) BubblePosting(_ api.Datastorer, _ api.Transactor, _ api.Poster, _ api.Accounter) error
- func (report *ReportPrint) Clone() api.Reporter
- func (report *ReportPrint) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportPrint) Posting(_ api.Datastorer, _ api.Transactor, _ api.Poster) error
- func (report *ReportPrint) Render(args []string, ndb api.Datastorer)
- func (report *ReportPrint) Startjournal(fname string, included bool)
- func (report *ReportPrint) Transaction(_ api.Datastorer, trans api.Transactor) error
- type ReportRegister
- func (report *ReportRegister) BubblePosting(db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
- func (report *ReportRegister) Clone() api.Reporter
- func (report *ReportRegister) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportRegister) Posting(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (report *ReportRegister) Render(args []string, db api.Datastorer)
- func (report *ReportRegister) Startjournal(fname string, included bool)
- func (report *ReportRegister) Transaction(db api.Datastorer, trans api.Transactor) error
- type Reports
- func (reports *Reports) BubblePosting(db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
- func (reports *Reports) Clone() api.Reporter
- func (reports *Reports) Firstpass(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (reports *Reports) Posting(db api.Datastorer, trans api.Transactor, p api.Poster) error
- func (reports *Reports) Render(args []string, db api.Datastorer)
- func (reports *Reports) Startjournal(fname string, included bool)
- func (reports *Reports) String() string
- func (reports *Reports) Transaction(db api.Datastorer, trans api.Transactor) error
Constants ¶
This section is empty.
Variables ¶
var PayeeOpeningBalance = "Opening Balance"
PayeeOpeningBalance name generated by equity. IMPORTANT: don't change this literal
Functions ¶
func CommodityColor ¶
func CommodityColor( db api.Datastorer, comm *dblentry.Commodity, text string) (out interface{})
Types ¶
type RCformat ¶
type RCformat struct {
// contains filtered or unexported fields
}
RCformat for {row, column} tabular formatting.
func (*RCformat) FitAccountname ¶
FitAccountname for formatting
type ReportBalance ¶
type ReportBalance struct {
// contains filtered or unexported fields
}
ReportBalance for balance reporting.
func NewReportBalance ¶
func NewReportBalance(args []string) (*ReportBalance, error)
NewReportBalance creates an instance for balance reporting
func (*ReportBalance) BubblePosting ¶
func (report *ReportBalance) BubblePosting( db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
func (*ReportBalance) Clone ¶
func (report *ReportBalance) Clone() api.Reporter
func (*ReportBalance) Firstpass ¶
func (report *ReportBalance) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportBalance) Posting ¶
func (report *ReportBalance) Posting( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportBalance) Render ¶
func (report *ReportBalance) Render(args []string, db api.Datastorer)
func (*ReportBalance) Startjournal ¶
func (report *ReportBalance) Startjournal(fname string, included bool)
func (*ReportBalance) Transaction ¶
func (report *ReportBalance) Transaction( db api.Datastorer, trans api.Transactor) error
type ReportEquity ¶
type ReportEquity struct {
// contains filtered or unexported fields
}
ReportEquity for equity reporting.
func NewReportEquity ¶
func NewReportEquity(args []string) (*ReportEquity, error)
NewReportEquity create a new instance for equity reporting.
func (*ReportEquity) BubblePosting ¶
func (report *ReportEquity) BubblePosting( db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
func (*ReportEquity) Clone ¶
func (report *ReportEquity) Clone() api.Reporter
func (*ReportEquity) Firstpass ¶
func (report *ReportEquity) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportEquity) Posting ¶
func (report *ReportEquity) Posting( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportEquity) Render ¶
func (report *ReportEquity) Render(args []string, db api.Datastorer)
func (*ReportEquity) Startjournal ¶
func (report *ReportEquity) Startjournal(fname string, included bool)
func (*ReportEquity) Transaction ¶
func (report *ReportEquity) Transaction( db api.Datastorer, trans api.Transactor) error
type ReportList ¶
type ReportList struct {
// contains filtered or unexported fields
}
ReportList for balance reporting.
func NewReportList ¶
func NewReportList(args []string) *ReportList
NewReportList creates an instance for balance reporting
func (*ReportList) BubblePosting ¶
func (report *ReportList) BubblePosting( _ api.Datastorer, _ api.Transactor, _ api.Poster, _ api.Accounter) error
func (*ReportList) Clone ¶
func (report *ReportList) Clone() api.Reporter
func (*ReportList) Firstpass ¶
func (report *ReportList) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportList) Posting ¶
func (report *ReportList) Posting( _ api.Datastorer, _ api.Transactor, _ api.Poster) error
func (*ReportList) Render ¶
func (report *ReportList) Render(args []string, ndb api.Datastorer)
func (*ReportList) Startjournal ¶
func (report *ReportList) Startjournal(fname string, included bool)
func (*ReportList) Transaction ¶
func (report *ReportList) Transaction( _ api.Datastorer, _ api.Transactor) error
type ReportPassbook ¶
type ReportPassbook struct {
// contains filtered or unexported fields
}
func NewReportPassbook ¶
func NewReportPassbook(args []string) (*ReportPassbook, error)
func (*ReportPassbook) BubblePosting ¶
func (report *ReportPassbook) BubblePosting( db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
func (*ReportPassbook) Clone ¶
func (report *ReportPassbook) Clone() api.Reporter
func (*ReportPassbook) Firstpass ¶
func (report *ReportPassbook) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportPassbook) Posting ¶
func (report *ReportPassbook) Posting( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportPassbook) Render ¶
func (report *ReportPassbook) Render(args []string, db api.Datastorer)
func (*ReportPassbook) Startjournal ¶
func (report *ReportPassbook) Startjournal(fname string, included bool)
func (*ReportPassbook) Transaction ¶
func (report *ReportPassbook) Transaction( db api.Datastorer, trans api.Transactor) error
type ReportPrint ¶
type ReportPrint struct {
// contains filtered or unexported fields
}
ReportPrint for balance reporting.
func NewReportPrint ¶
func NewReportPrint(args []string) *ReportPrint
NewReportList creates an instance for balance reporting
func (*ReportPrint) BubblePosting ¶
func (report *ReportPrint) BubblePosting( _ api.Datastorer, _ api.Transactor, _ api.Poster, _ api.Accounter) error
func (*ReportPrint) Clone ¶
func (report *ReportPrint) Clone() api.Reporter
func (*ReportPrint) Firstpass ¶
func (report *ReportPrint) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportPrint) Posting ¶
func (report *ReportPrint) Posting( _ api.Datastorer, _ api.Transactor, _ api.Poster) error
func (*ReportPrint) Render ¶
func (report *ReportPrint) Render(args []string, ndb api.Datastorer)
func (*ReportPrint) Startjournal ¶
func (report *ReportPrint) Startjournal(fname string, included bool)
func (*ReportPrint) Transaction ¶
func (report *ReportPrint) Transaction( _ api.Datastorer, trans api.Transactor) error
type ReportRegister ¶
type ReportRegister struct {
// contains filtered or unexported fields
}
ReportRegister for register reporting.
func NewReportRegister ¶
func NewReportRegister(args []string) (*ReportRegister, error)
NewReportRegister create an instance for register reporting.
func (*ReportRegister) BubblePosting ¶
func (report *ReportRegister) BubblePosting( db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
func (*ReportRegister) Clone ¶
func (report *ReportRegister) Clone() api.Reporter
func (*ReportRegister) Firstpass ¶
func (report *ReportRegister) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportRegister) Posting ¶
func (report *ReportRegister) Posting( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*ReportRegister) Render ¶
func (report *ReportRegister) Render(args []string, db api.Datastorer)
func (*ReportRegister) Startjournal ¶
func (report *ReportRegister) Startjournal(fname string, included bool)
func (*ReportRegister) Transaction ¶
func (report *ReportRegister) Transaction( db api.Datastorer, trans api.Transactor) error
type Reports ¶
type Reports struct {
// contains filtered or unexported fields
}
Reports manages all reporting commands.
func (*Reports) BubblePosting ¶
func (reports *Reports) BubblePosting( db api.Datastorer, trans api.Transactor, p api.Poster, account api.Accounter) error
func (*Reports) Firstpass ¶
func (reports *Reports) Firstpass( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*Reports) Posting ¶
func (reports *Reports) Posting( db api.Datastorer, trans api.Transactor, p api.Poster) error
func (*Reports) Startjournal ¶
func (*Reports) Transaction ¶
func (reports *Reports) Transaction( db api.Datastorer, trans api.Transactor) error