Versions in this module Expand all Collapse all v0 v0.5.2 Sep 6, 2020 v0.5.1 Sep 3, 2020 v0.5.0 Jul 26, 2020 v0.4.9 Jul 26, 2020 v0.4.8 Jul 25, 2020 Changes in this version + type Customer struct + Comment string + Email string + Id int + Name string + NcFolderName string + Projects []Project + Recipient1 string + Recipient2 string + Recipient3 string + Recipient4 string + SbId string + func (c Customer) Conditions() util.Conditions + func (c Customer) Convert() schema.Party + func (c Customer) String() string + func (c Customer) Type() string + func (c Customer) Validate() util.ValidateResults + type Customers []Customer + func (c Customers) ConvertExpenses(folderPrefix string, parties schema.Parties, bimpfEmployees Employees) schema.Expenses + func (c Customers) ConvertInvoices(folderPrefix string, parties schema.Parties) schema.Invoices + type Document struct + CustomerId int + CustomerName string + DaysOfGrace int + Description string + Id int + IsStalled bool + Name string + Path string + ProjectId int + ProjectName string + SbId string + SendDate string + func (d Document) Conditions() util.Conditions + func (d Document) ConvertAsInvoice(pathPrefix, customerId, projectName string, parties schema.Parties) schema.Invoice + func (d Document) String() string + func (d Document) Type() string + func (d Document) Validate() util.ValidateResults + type Dump struct + Customers Customers + Employees Employees + Expenses []Expense + TimeUnits []TimeUnit + func OpenDump(path string) *Dump + func (d Dump) Convert(outputFolder, bimpfFolder string) schema.Schema + func (d Dump) Validate() util.ValidateResults + func (d Dump) ValidateAndReport(path string) + type Employee struct + FirstName string + Id int + Name string + SbId string + Username string + func (e Employee) Conditions() util.Conditions + func (e Employee) Convert() schema.Party + func (e Employee) String() string + func (e Employee) Type() string + func (e Employee) Validate() util.ValidateResults + type Employees []Employee + func (e Employees) ById(id int) (*Employee, error) + type Expense struct + AdvancedByEmployee bool + Amount float64 + Billable bool + Comment string + DateOfAccrual string + EmployeeId int + Id int + IsPaid bool + Name string + PaidByCustomer bool + Path string + SbId string + func (e Expense) Conditions() util.Conditions + func (e Expense) Convert(pathPrefix, obligedCustomerId, project string, parties schema.Parties, ...) schema.Expense + func (e Expense) String() string + func (e Expense) Type() string + func (e Expense) Validate() util.ValidateResults + type Project struct + CustomerId int + CustomerName string + Expenses []Expense + Id int + Invoices []Document + IsArchived bool + Name string + NcFolderName string + Quotes []Document + Reminders []Document + SbId string + func (p Project) Conditions() util.Conditions + func (p Project) ShortDescription() string + func (p Project) String() string + func (p Project) Type() string + func (p Project) Validate() []util.ValidateResult + type Projects []Project + type TimeUnit struct + Billable bool + Description string + EndDate string + EndTime string + Id int + StartDate string + StartTime string + func (t TimeUnit) Conditions() util.Conditions + func (t TimeUnit) String() string + func (t TimeUnit) Type() string + func (t TimeUnit) Validate() util.ValidateResults