diff --git a/controllers/manage.py b/controllers/manage.py index 8b147713..851d9992 100755 --- a/controllers/manage.py +++ b/controllers/manage.py @@ -870,7 +870,7 @@ def SET_PRICES(): response.flash = DIV( f"SET THE FOLLOWING DEFAULT PRICE STRUCTURE for {n_leaves} species:", BR(),PRE(*output), - f"Total revenue: {fmt_pounds(revenue)}!\nNow overriding the following special exclusions (and setting banned):", BR(), + f"Total revenue: {OZfunc.fmt_pounds(revenue)}!\nNow overriding the following special exclusions (and setting banned):", BR(), f"{bespoke_spp}" ) diff --git a/views/manage/SET_PRICES.html b/views/manage/SET_PRICES.html index c841b3a3..01cf18ab 100755 --- a/views/manage/SET_PRICES.html +++ b/views/manage/SET_PRICES.html @@ -6,8 +6,9 @@

Set the prices from the pre-calculated popularities

{{=form.custom.begin}} +{{if pop_min is not None and pop_max is not None:}} Popularity ranges from {{=int(round(pop_min,0))}} to {{=int(round(pop_max,0))}}. As a guide, here are the popularities of a few species: - +{{pass}}