diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-07-09 11:31:08 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-07-09 11:31:08 +0530 | 
| commit | c3821df233523ab715fdf06d54c142394411c968 (patch) | |
| tree | 4f19352740fc5e38b5a8bd98244bafa30e037b1c /user/user.go | |
| parent | d0a44ff5cfad5d063929426e2420f6f0d55b1dbe (diff) | |
added logo/signature upload routes
Diffstat (limited to 'user/user.go')
| -rw-r--r-- | user/user.go | 22 | 
1 files changed, 12 insertions, 10 deletions
diff --git a/user/user.go b/user/user.go index 726c5c2..b130ab9 100644 --- a/user/user.go +++ b/user/user.go @@ -40,17 +40,19 @@ func init() {  type User struct {  	gorm.Model    u.Address -  FullName   string -  FirmName   string -  Gstin      string -  Phone      string -  Email      string -  Website    string -	Username   string -	Password   string +  FullName      string +  FirmName      string +  Gstin         string +  Phone         string +  Email         string +  Website       string +	Username      string +	Password      string +	LogoFile      string +	SignatureFile string  	// will be printed with address on the invoice -	Details    string -	IsVerified bool +	Details       string +	IsVerified    bool  	// a note is printed on every invoice.  	// This is the default that gets automatically set  	DefaultInvoiceNote string  |