class Meta: model = Scorecard fields = ['approved', 'approved_by', 'approval_note'] widgets = { 'approval_note': MiniTextarea(), 'approved_by': Select2({'width': "100%"}) } field_classes = {'approved_by': UserModelChoiceField}
class Meta: model = Initiative fields = [ 'name', 'description', 'date', 'scorecard', 'kpi', ] widgets = {'description': MiniTextarea()}
class Meta: model = Score fields = [ 'date', 'value', 'notes', 'scorecard', 'kpi', ] widgets = {'notes': MiniTextarea()}
class Meta: model = Scorecard fields = [ 'name', 'year', 'description', 'user', 'customer', 'active', ] widgets = {'name': MiniTextarea(), 'user': Select2({'width': "100%"})} field_classes = {'user': UserModelChoiceField}
class Meta: model = KPI fields = [ 'objective', 'name', 'measure', 'description', 'perspective', 'baseline', 'target', 'unit', 'direction', 'weight', 'reporting_period', 'calculation', 'reporting_method', 'customer', 'active', ] widgets = { 'name': MiniTextarea(), 'measure': MiniTextarea(), 'objective': Select2({'width': "100%"}) }