zulip/corporate/lib
Lauryn Menard 391c52639f support: Show discount information on remote support views.
In commit 7203661d99, we removed the default_discount field on the
Customer model, but we didn't update the remote support views for
this change.

Adds a has_discount boolean to the SponsorshipData that's used in
the support views for headers, and updates the discount information
on a deactivated remote realm to show any pre-existing discounted
prices.
2024-08-15 09:51:35 -07:00
..
__init__.py
activity.py ruff: Fix B905 `zip()` without an explicit `strict=` parameter. 2024-07-13 22:28:22 -07:00
decorator.py ruff: Fix UP035 Import from `collections.abc`, `typing` instead. 2024-07-13 22:28:22 -07:00
registration.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
remote_billing_util.py ruff: Fix UP007 Use `X | Y` for type annotations. 2024-07-13 22:28:22 -07:00
stripe.py support: Reject attempts to approve sponsorship for deactivated orgs. 2024-08-13 20:29:02 -07:00
stripe_event_handler.py ruff: Fix E721 Use `isinstance()` for isinstance checks. 2024-08-01 16:46:58 -07:00
support.py support: Show discount information on remote support views. 2024-08-15 09:51:35 -07:00