import { DatePicker } from '@/components/date-picker'; import InputError from '@/components/input-error'; import { PageHeader } from '@/components/page-header'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { PhoneInput } from '@/components/ui/phone-input'; import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; import { Textarea } from '@/components/ui/textarea'; import { index, store } from '@/routes/admin/users/students'; import { Form, Head } from '@inertiajs/react'; import { format } from 'date-fns'; import { useState } from 'react'; type Department = { id: number; name: string }; type Lecturer = { id: number; lecturer_number: string; user: { profile: { full_name: string } | null } | null }; type Props = { departments: Department[]; lecturers: Lecturer[]; }; export default function StudentCreate({ departments, lecturers }: Props) { const [gender, setGender] = useState(''); const [birthDate, setBirthDate] = useState(); return ( <>
Kembali } />
{({ errors, processing }) => ( <> Informasi Akun
Profil Pribadi