diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-07-07 22:15:47 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-07-07 22:15:47 +0530 |
commit | afe4affa7e543b9a1ddd72efd7e2ab60f8c50317 (patch) | |
tree | 49b0cce3f6db3afb6dac90ef0910d79f0ed6cfb2 | |
parent | 64fec78076a44ca63274a134fcbfc641e414bae9 (diff) |
added additional firm details printed on invoicev0.7.0
-rw-r--r-- | invoice/invoice.go | 1 | ||||
-rw-r--r-- | main.go | 2 | ||||
-rw-r--r-- | user/user.go | 2 |
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 @@ -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 } |