Source code for ferrosoft.apps.emiflow.forms.pcf
# Copyright (c) 2025 Ferrosoft GmbH. All rights reserved.
from django import forms
from django.utils.translation import gettext_lazy as _
[docs]
class ReportForm(forms.Form):
# Product Description
product_name = forms.CharField(label=_("Product Name"))
unit = forms.CharField(label=_("Unit"))
application = forms.CharField(label=_("Application"))
# Objective and purpose of the report
objective = forms.CharField(label=_("Objective"))
# System Boundaries
system_boundary = forms.CharField(label=_("System Boundary"))
# Methodology and data sources
standards = forms.CharField(label=_("Standards"))
data_sources = forms.CharField(label=_("Data Sources"))
tool = forms.CharField(label=_("Tool"))
# Greenhouse Gas Emissions
lifecycle_label = forms.CharField(label=_("Lifecycle Label"))
lifecycle_value = forms.DecimalField(label=_("Lifecycle Value"))
lifecycle_unit = forms.CharField(label=_("Lifecycle Unit"))
# Assumptions and uncertainties
assumption = forms.CharField(label=_("Assumption"))
# Recommendations
recommendation = forms.CharField(label=_("Recommendation"))