Fix update output on total value

This commit is contained in:
Florian Baumann 2023-04-20 12:12:18 +02:00
parent 2ed9467f6a
commit 637d385e74

View File

@ -129,7 +129,7 @@ var updateCmd = &cobra.Command{
tmpCard := Card{}
tmpCard.Prices = t
fmt.Printf("\n%sUpdating total value of collection to: %s%.02f %s%s\n", Green, Yellow, tmpCard.getValue(false), getCurrency(), Reset)
fmt.Printf("\n%sUpdating total value of collection to: %s%.02f %s%s\n", Green, Yellow, tmpCard.getValue(false)+tmpCard.getValue(true), getCurrency(), Reset)
totalcoll.storage_add_total(t)
return nil