From 5ae8786510a3f36896840ab74214cb80955be770 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 8 Aug 2020 12:43:29 +0200 Subject: [PATCH] fix --- job.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job.go b/job.go index 8ba0027..34d4c2e 100644 --- a/job.go +++ b/job.go @@ -2775,7 +2775,7 @@ func jobVaultValOth(j Job) { for _, v := range p.Val { item, _ := getObjItem(v.ItemID64) log.Printf("jobVaultValOth : %s%s - %s => %d - %f\n", item.Code, v.Quality, item.Names[0], v.Volume, v.Price) - out = fmt.Sprintf("%s- %s%s (%s) : %d / %f\n", out, item.Code, v.Quality, item.Names[0], v.Volume, v.Price) + out = fmt.Sprintf("%s- %s%s (%s) : %d sales : %f pogs, %f pogs/weight.unit\n", out, item.Code, v.Quality, item.Names[0], v.Volume, v.Price, v.Price/float64(v.Weight)) total += float64(v.Quantity) * v.Price }