From afe4affa7e543b9a1ddd72efd7e2ab60f8c50317 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 7 Jul 2024 22:15:47 +0530 Subject: added additional firm details printed on invoice --- invoice/invoice.go | 1 + main.go | 2 +- user/user.go | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3