mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 01:42:37 +02:00
Wrote comments briefly explaining about "project_history" and "ip_recording".
This commit is contained in:
parent
a5f83de5ce
commit
aac7d92f7b
1 changed files with 7 additions and 0 deletions
|
@ -136,8 +136,15 @@ class EditProjectForm(FlaskForm):
|
||||||
description=_("Enter a new code if you want to change it"),
|
description=_("Enter a new code if you want to change it"),
|
||||||
)
|
)
|
||||||
contact_email = StringField(_("Email"), validators=[DataRequired(), Email()])
|
contact_email = StringField(_("Email"), validators=[DataRequired(), Email()])
|
||||||
|
|
||||||
|
# Create a checkbox in project settings to enable project history (keeps track of project transactions,
|
||||||
|
# like adding/settling bills). "Y/N" determines if transaction history is being recorded for the project.
|
||||||
project_history = BooleanField(_("Enable project history"))
|
project_history = BooleanField(_("Enable project history"))
|
||||||
|
|
||||||
|
# Create a checkbox in project settings to allow for recording source IP address from a given transaction listed
|
||||||
|
# in project history. "Y/N" determines if an IP address will be attached to a created entry in project history.
|
||||||
ip_recording = BooleanField(_("Use IP tracking for project history"))
|
ip_recording = BooleanField(_("Use IP tracking for project history"))
|
||||||
|
|
||||||
currency_helper = CurrencyConverter()
|
currency_helper = CurrencyConverter()
|
||||||
default_currency = SelectField(
|
default_currency = SelectField(
|
||||||
_("Default Currency"),
|
_("Default Currency"),
|
||||||
|
|
Loading…
Reference in a new issue