Skip to content

Commit

Permalink
Fix issue with month price for purchase dialog whe discount is active
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkanovikov committed Dec 6, 2024
1 parent 3353e00 commit 9290150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ui/account/purchase_dialog_option_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void PurchaseDialogOptionWidget::paintEvent(QPaintEvent* _event)
painter.drawText(
textRect, Qt::AlignLeft | Qt::AlignVCenter,
tr("$%1 per month")
.arg(d->option.baseAmount() / 100.0 / static_cast<qreal>(d->option.duration), 0,
.arg(d->option.totalAmount / 100.0 / static_cast<qreal>(d->option.duration), 0,
'f', 2));
}
//
Expand Down

0 comments on commit 9290150

Please sign in to comment.