Merge pull request #1 from Sylvieox/Joseph

Wrote comments briefly explaining about "project_history" and "ip_rec…
This commit is contained in:
RepoReader5 2024-05-06 15:37:22 -04:00 committed by GitHub
commit 996e68c7c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -136,8 +136,15 @@ class EditProjectForm(FlaskForm):
description=_("Enter a new code if you want to change it"),
)
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"))
# 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"))
currency_helper = CurrencyConverter()
default_currency = SelectField(
_("Default Currency"),