from django import forms
from .models import Lead, Call

class LeadForm(forms.ModelForm):
    class Meta:
        model = Lead
        fields = ['company', 'contact_name', 'phone', 'notes', 'status']

class CallForm(forms.ModelForm):
    class Meta:
        model = Call
        fields = ['call_outcome', 'summary', 'developments', 'requirements_raised', 'actions_taken', 'next_followup_date', 'followup_required']
