allow to disable appcat price calculator
All checks were successful
Build and Deploy / build (push) Successful in 1m5s
Build and Deploy / deploy (push) Successful in 5s

This commit is contained in:
Tobias Brunner 2025-06-04 17:54:33 +02:00
parent 6ad8b9aa49
commit 01d35a461b
No known key found for this signature in database
5 changed files with 49 additions and 3 deletions

View file

@ -310,6 +310,11 @@ class VSHNAppCatPrice(models.Model):
default=1, help_text="Maximum supported replicas"
)
public_display_enabled = models.BooleanField(
default=True,
help_text="Enable public display of price calculator on offering detail page",
)
valid_from = models.DateTimeField(blank=True, null=True)
valid_to = models.DateTimeField(blank=True, null=True)