Source code for finances.utils

__copyright__ = "Copyright © Stichting SciPost (SciPost Foundation)"
__license__ = "AGPL v3"


[docs]def id_to_slug(id): return max(0, int(id) + 821)
[docs]def slug_to_id(slug): return max(0, int(slug) - 821)