Skip to content

Commit

Permalink
Remove model column
Browse files Browse the repository at this point in the history
Make this change in a dedicated PR
  • Loading branch information
zmoog committed Jan 1, 2025
1 parent 580b65c commit b531c09
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions refurbished/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ def str(self) -> str:
return "No products found\n"

table = Table(title="Refurbished Products", box=box.SIMPLE)
table.add_column("Model")
table.add_column("Current")
table.add_column("Previous")
table.add_column("Saving")
table.add_column("Name")

for v in self.values:
table.add_row(
v.model,
f"{v.price:,.0f}",
f"{v.previous_price:,.0f}",
f"{v.saving_percentage:.0%} (-{v.savings_price:,.0f})",
Expand Down

0 comments on commit b531c09

Please sign in to comment.