diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-04-05 11:36:43 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-04-05 11:36:43 +0530 | 
| commit | 10aed3cea7935f2f22ef713cff9839dd16afce48 (patch) | |
| tree | 54e8e150e93f172ecba37792059da2b2658c59df /invoice | |
| parent | bb088225a27d04c8237bfcdc7658a5564e838082 (diff) | |
moved some validator logic and common structs to util package
Diffstat (limited to 'invoice')
| -rw-r--r-- | invoice/invoice.go | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/invoice/invoice.go b/invoice/invoice.go index 55552ec..6fcd3c5 100644 --- a/invoice/invoice.go +++ b/invoice/invoice.go @@ -1,5 +1,5 @@  /* openbills - Server for web based Libre Billing Software - * Copyright (C) 2023  Vidhu Kant Sharma <vidhukant@vidhukant.com> + * Copyright (C) 2023-2024  Vidhu Kant Sharma <vidhukant@vidhukant.com>   *   * This program is free software: you can redistribute it and/or modify   * it under the terms of the GNU General Public License as published by @@ -21,7 +21,7 @@ import (  	"gorm.io/gorm"  	d "vidhukant.com/openbills/db"  	"vidhukant.com/openbills/user" -	c "vidhukant.com/openbills/customer" +	u "vidhukant.com/openbills/util"  	i "vidhukant.com/openbills/item"  	"time"  ) @@ -35,13 +35,13 @@ func init() {  type InvoiceBillingAddress struct {  	gorm.Model -	c.Address +	u.Address  	InvoiceID uint  }  type InvoiceShippingAddress struct {  	gorm.Model -	c.Address +	u.Address  	InvoiceID uint  }  |