import { useState } from 'react';
import { Card, CardContent } from '@/components/ui/card';
import { Input } from '@/components/ui/input';
import { Button } from '@/components/ui/button';
import { Textarea } from '@/components/ui/textarea';
import { Select, SelectItem } from '@/components/ui/select';
export default function AdminCRM() {
const [applicants, setApplicants] = useState([]);
const [form, setForm] = useState({
name: '',
email: '',
phone: '',
address: '',
position: 'RBT',
certified: 'No',
hours: '',
pay: '',
date: '',
source: '',
notes: '',
status: 'New'
});
const handleChange = (e) => {
const { name, value } = e.target;
setForm({ ...form, [name]: value });
};
const handleAddApplicant = () => {
setApplicants([...applicants, form]);
setForm({
name: '', email: '', phone: '', address: '', position: 'RBT', certified: 'No',
hours: '', pay: '', date: '', source: '', notes: '', status: 'New'
});
};
return (
);
}