aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-07 22:15:47 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-07 22:15:47 +0530
commitafe4affa7e543b9a1ddd72efd7e2ab60f8c50317 (patch)
tree49b0cce3f6db3afb6dac90ef0910d79f0ed6cfb2
parent64fec78076a44ca63274a134fcbfc641e414bae9 (diff)
added additional firm details printed on invoicev0.7.0
-rw-r--r--invoice/invoice.go1
-rw-r--r--main.go2
-rw-r--r--user/user.go2
3 files changed, 4 insertions, 1 deletions
diff --git a/invoice/invoice.go b/invoice/invoice.go
index 86fed17..8d808a3 100644
--- a/invoice/invoice.go
+++ b/invoice/invoice.go
@@ -72,6 +72,7 @@ type Invoice struct {
IssuerFirmPhone string
IssuerFirmEmail string
IssuerFirmWebsite string
+ IssuerFirmDetails string
CustomerName string
CustomerGstin string
CustomerContactName string
diff --git a/main.go b/main.go
index d5ca7da..0ca97b0 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,7 @@ import (
"log"
)
-const OPENBILLS_VERSION = "v0.6.1"
+const OPENBILLS_VERSION = "v0.7.0"
func init() {
if !viper.GetBool("debug_mode") {
diff --git a/user/user.go b/user/user.go
index 1682388..9db94e0 100644
--- a/user/user.go
+++ b/user/user.go
@@ -48,6 +48,8 @@ type User struct {
Website string
Username string
Password string
+ // will be printed with address on the invoice
+ Details string
IsVerified bool
}