This commit is contained in:
Sergiotarxz 2024-11-12 23:55:31 +01:00
parent 5e5b9cf721
commit 67deb962bc
2 changed files with 7 additions and 2 deletions

View File

@ -727,8 +727,8 @@ sub _on_receive_price($self) {
my $price_label = Gtk4::Label->new(undef); my $price_label = Gtk4::Label->new(undef);
$price_label->set_markup("<big>$price€</big>"); $price_label->set_markup("<big>$price€</big>");
$box->append($price_label); $box->append($price_label);
$box->append($starting_price_label); if ( defined $discount && $discount > 2 ) {
if ( $discount > 2 ) { $box->append($starting_price_label);
$box->append($discount_label); $box->append($discount_label);
} }
$window_price_discount->set_child($box); $window_price_discount->set_child($box);

View File

@ -30,6 +30,11 @@
<releases> <releases>
<release version="v1.0.13" date="2024-11-12">
<description>
<p>Make discount to show the previous price</p>
</description>
</release>
<release version="v1.0.12" date="2024-11-11"> <release version="v1.0.12" date="2024-11-11">
<description> <description>
<p>Make more prominent affiliated printers and supplies and implementing discounts</p> <p>Make more prominent affiliated printers and supplies and implementing discounts</p>