manager

package
v0.0.0-...-307ac59 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(input, output string) error

func Next

func Next() (string, error)

Types

type Invoice

type Invoice struct {
	ID                 uint64
	Client             string
	Emitted, Delivered time.Time
	Services           []Service
	Comment            string
	Currency           rune
	PaymentDays        uint8
	Quote              bool
}

func (Invoice) PDF

func (i Invoice) PDF(filename string) error

func (Invoice) Total

func (i Invoice) Total() float64

type Service

type Service struct {
	Description string
	UnitCost    float64
	Unit        string
	Quantity    float64
}

func (Service) Amount

func (s Service) Amount() float64

Jump to

Keyboard shortcuts

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