aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-09 06:10:43 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-07-09 06:10:43 +0530
commit908fb4b2b0fd1c31aa8c1cc87f56d490b42aca7a (patch)
tree4630365d362426390a4375bf39ea3ff755aa992f /user
parentafe4affa7e543b9a1ddd72efd7e2ab60f8c50317 (diff)
added invoice notev0.8.0
Diffstat (limited to 'user')
-rw-r--r--user/user.go3
1 files changed, 3 insertions, 0 deletions
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 {