|
@@ -34,7 +34,7 @@ func (u *InvoiceService) InvoiceAdd(solgan *entity.Invoice, resType string, isLo
|
|
|
if isLoop == 0 {
|
|
|
solgan.Swno = strings.Replace(fmt.Sprintln(solgan.Swno+fmt.Sprintf("%06v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(1000000))), "\n", "", -1)
|
|
|
}
|
|
|
- solgan.Phone = solgan.CustTelephone
|
|
|
+ solgan.CustTelephone = solgan.Phone
|
|
|
solgan.SaleTax = entity.SaleTax
|
|
|
solgan.InvType = entity.InvType
|
|
|
solgan.BillType = entity.BillType
|