diff options
| -rw-r--r-- | invoice/invoice.go | 13 | ||||
| -rw-r--r-- | main.go | 2 | 
2 files changed, 13 insertions, 2 deletions
diff --git a/invoice/invoice.go b/invoice/invoice.go index e2b8f7c..55552ec 100644 --- a/invoice/invoice.go +++ b/invoice/invoice.go @@ -64,8 +64,19 @@ type Invoice struct {  	IsDraft         bool  	Items           []InvoiceItem +	// the customer fields are hard coded for: +	// 1. simplicity and +	// 2. don't wanna update details for all the +	//    invoices if one customer's details are updated +	// NOTE: These fields aren't getting validated (as of now, at least) +	CustomerName        string +	CustomerGstin       string +	CustomerContactName string +	CustomerPhone       string +	CustomerEmail       string +	CustomerWebsite     string +  	// Transporter     Transporter  	// DueDate         string  	// TransactionID   string -	// Client          idk  } @@ -38,7 +38,7 @@ import (  	"log"  ) -const OPENBILLS_VERSION = "v0.0.13" +const OPENBILLS_VERSION = "v0.0.14"  func init() {  	if viper.GetBool("production_mode") {  |