Apply tags
hypha.apply.utils.templatetags.apply_tags
¶
model_verbose_name
¶
format_number_as_currency
¶
Formats a number as currency
Source code in hypha/apply/utils/templatetags/apply_tags.py
get_currency_symbol
¶
Gets the currency symbol based on system settings
subtract
¶
Subtracts two numbers
Primarily used in calculating the the number of submissions to be excluded in the results view
Parameters:
-
total_submissions
(int
) –number to be subtracted from
-
req_amt_submissions
(int
) –number to subtract
Returns:
-
int
(int
) –the difference between the given values