fix
This commit is contained in:
parent
2e96959298
commit
5ae8786510
2
job.go
2
job.go
@ -2775,7 +2775,7 @@ func jobVaultValOth(j Job) {
|
|||||||
for _, v := range p.Val {
|
for _, v := range p.Val {
|
||||||
item, _ := getObjItem(v.ItemID64)
|
item, _ := getObjItem(v.ItemID64)
|
||||||
log.Printf("jobVaultValOth : %s%s - %s => %d - %f\n", item.Code, v.Quality, item.Names[0], v.Volume, v.Price)
|
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
|
total += float64(v.Quantity) * v.Price
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user