🐛 fix:: Update localization files and improve display logic for inventory handling

This commit is contained in:
web@ppanel
2025-12-29 08:08:31 +00:00
parent 2316609c82
commit 83d821a2dc
6 changed files with 4 additions and 9 deletions
@@ -78,7 +78,7 @@ const DurationSelector: React.FC<DurationSelectorProps> = ({
</span>
{discountPercentage > 0 ? (
<Badge className="h-6 text-sm" variant="destructive">
-{discountPercentage}% {t("discount", "Discount")}
-{discountPercentage.toFixed(2)}% {t("discount", "Discount")}
</Badge>
) : (
<span className="h-6 text-muted-foreground text-sm">--</span>