diff options
| -rw-r--r-- | invoice/invoice.go | 2 | ||||
| -rw-r--r-- | main.go | 2 | ||||
| -rw-r--r-- | user/user.go | 3 | 
3 files changed, 5 insertions, 2 deletions
diff --git a/invoice/invoice.go b/invoice/invoice.go index 8d808a3..4b93ee4 100644 --- a/invoice/invoice.go +++ b/invoice/invoice.go @@ -62,6 +62,7 @@ type Invoice struct {  	BillingAddress  InvoiceBillingAddress  	ShippingAddress InvoiceShippingAddress  	IsDraft         bool +	Note            string  	Items           []InvoiceItem    // issuer and customer details are stored here  @@ -81,6 +82,5 @@ type Invoice struct {  	CustomerWebsite     string  	// Transporter     Transporter -	// DueDate         string  	// TransactionID   string  } @@ -38,7 +38,7 @@ import (  	"log"  ) -const OPENBILLS_VERSION = "v0.7.0" +const OPENBILLS_VERSION = "v0.8.0"  func init() {  	if !viper.GetBool("debug_mode") { diff --git a/user/user.go b/user/user.go index 9db94e0..726c5c2 100644 --- a/user/user.go +++ b/user/user.go @@ -51,6 +51,9 @@ type User struct {  	// will be printed with address on the invoice  	Details    string  	IsVerified bool +	// a note is printed on every invoice. +	// This is the default that gets automatically set +	DefaultInvoiceNote string  }  func CheckPassword(user *User, accountName, method, pass string) error {  |