Code4PuertoRico / contratospr-api

Web application to gather, display and make searchable contracts made by the Puerto Rico state government.
https://contratospr.com
Apache License 2.0
37 stars 12 forks source link

Add support for fiscal year 2020+ #140

Closed jpadilla closed 4 years ago

jpadilla commented 4 years ago

Is your feature request related to a problem? Please describe.

Make list fiscal year choices dynamic.

start = 2016
range = end - start
end = get_current_fiscal_year()

Describe the solution you'd like https://github.com/Code4PuertoRico/contratospr-api/blob/33f84b7ddd1af5814179e2bbeb89b8d6d397ac41/contratospr/contracts/utils.py#L7-L17

https://github.com/Code4PuertoRico/contratospr-api/blob/7334afd05b6d10434bb217a7a012ffbae5a65464/contratospr/api/serializers.py#L19-L25

github-actions[bot] commented 4 years ago

This Issue is being marked as Stale because it has 30 days without any interaction. CC: @froi @jpadilla