Add screens for Regular Passport, Express Passport, Guidebook, Eazy Passport, and Applicant Detail. Then, add several components in the Applicant Detail screen by parsing data from the History screen

This commit is contained in:
Mochammad Adhi Buchori
2025-04-22 08:06:07 +07:00
parent 4e21c213fc
commit 2c77afb399
17 changed files with 557 additions and 38 deletions

View File

@ -2,47 +2,142 @@ const passportAppointmentData = [
{
id: '1',
applicantName: 'Irma Wahyudini',
applicantCount: 1,
applicantCode: '1038000001112223',
appointmentDate: 'Kamis, 17 April 2025',
appointmentTime: '10.00 - 11.00 WIB',
appointmentTime: '10:00 - 11:00 WIB',
serviceUnit: 'Unit Layanan Paspor I Jakarta Selatan (Pondok Pinang)',
status: 'Menunggu Pembayaran',
submissionDate: 'Senin, 14 April 2025 19:15',
serviceCode: 'EH-PL8XQM',
applicationDetails: {
nationalIdNumber: '3271234560009120001',
gender: 'Wanita',
applicationType: 'Baru',
replacementReason: '',
applicationPurpose: 'Ibadah Umrah',
passportType: 'PASPOR BIASA NON ELEKTRONIK',
fee: '350.000',
},
},
{
id: '2',
applicantName: 'Salwa Aisyah Adhani',
applicantCount: 2,
applicantCode: '1038000002223344',
appointmentDate: 'Senin, 14 April 2025',
appointmentTime: '08:00 - 09:00 WIB',
serviceUnit: 'Kantor Imigrasi Depok',
status: 'Sudah Terbayar',
submissionDate: 'Minggu, 13 April 2025 22:45',
serviceCode: 'EH-KS9BNV',
applicationDetails: {
nationalIdNumber: '3271234560009120002',
gender: 'Wanita',
applicationType: 'Penggantian Paspor',
replacementReason: 'Hilang',
applicationPurpose: 'Sekolah di Luar Negeri',
passportType: 'PASPOR BIASA ELEKTRONIK POLIKARBONAT 10 TAHUN',
fee: '950.000',
},
},
{
id: '3',
applicantName: 'Salwa Aisyah Adhani',
applicantCount: 2,
applicantCode: '1038000002223344',
appointmentDate: 'Senin, 14 April 2025',
appointmentTime: '08:00 - 09:00 WIB',
serviceUnit: 'Kantor Imigrasi Depok',
status: 'Menunggu Pembayaran',
submissionDate: 'Sabtu, 12 April 2025 18:30',
serviceCode: 'EH-GT4JWR',
applicationDetails: {
nationalIdNumber: '3271234560009120003',
gender: 'Wanita',
applicationType: 'Baru',
replacementReason: '',
applicationPurpose: 'Wisata/Liburan',
passportType: 'PASPOR BIASA NON ELEKTRONIK',
fee: '350.000',
},
},
{
id: '4',
applicantName: 'Salwa Aisyah Adhani',
applicantCount: 2,
applicantCode: '1038000002223344',
appointmentDate: 'Senin, 23 September 2024',
appointmentTime: '10:00 - 11:00 WIB',
serviceUnit: 'Kantor Imigrasi Depok',
status: 'Permohonan Kadaluarsa',
submissionDate: 'Kamis, 19 September 2024 20:05',
serviceCode: 'EH-RN8XLC',
applicationDetails: {
nationalIdNumber: '3271234560009120004',
gender: 'Wanita',
applicationType: 'Penggantian Paspor',
replacementReason: 'Rusak',
applicationPurpose: 'Kerja di Luar Negeri',
passportType: 'PASPOR BIASA ELEKTRONIK 5 TAHUN',
fee: '650.000',
},
},
{
id: '5',
applicantName: 'Yulfarisa Hasnah',
applicantCount: 2,
applicantCode: '1038000009971388',
appointmentDate: 'Senin, 14 April 2025',
appointmentTime: '08:00 - 09:00 WIB',
serviceUnit: 'Kantor Imigrasi Depok',
status: 'Sudah Terbayar',
submissionDate: 'Rabu, 16 April 2025 21:30',
serviceCode: 'EH-LP7RNC',
applicationDetails: {
nationalIdNumber: '3271234560009123456',
gender: 'Wanita',
applicationType: 'Penggantian Paspor',
replacementReason: 'Penuh/Halaman Penuh',
applicationPurpose: 'Wisata/Liburan',
passportType: 'PASPOR BIASA ELEKTRONIK POLIKARBONAT 10 TAHUN',
fee: '950.000',
},
},
{
id: '6',
applicantName: 'Fadlan Ramadhan',
applicantCode: '1038000008885566',
appointmentDate: 'Selasa, 18 April 2025',
appointmentTime: '09:00 - 10:00 WIB',
serviceUnit: 'Kantor Imigrasi Jakarta Barat',
status: 'Sudah Terbayar',
submissionDate: 'Senin, 14 April 2025 20:00',
serviceCode: 'EH-QZ5TVN',
applicationDetails: {
nationalIdNumber: '3271234560009120006',
gender: 'Pria',
applicationType: 'Baru',
replacementReason: '',
applicationPurpose: 'Tugas Kantor',
passportType: 'PASPOR BIASA NON ELEKTRONIK',
fee: '350.000',
},
},
{
id: '7',
applicantName: 'Nabila Khairunisa',
applicantCode: '1038000007773344',
appointmentDate: 'Rabu, 19 April 2025',
appointmentTime: '13:00 - 14:00 WIB',
serviceUnit: 'Kantor Imigrasi Bekasi',
status: 'Menunggu Pembayaran',
submissionDate: 'Senin, 14 April 2025 23:45',
serviceCode: 'EH-MK2YPQ',
applicationDetails: {
nationalIdNumber: '3271234560009120007',
gender: 'Wanita',
applicationType: 'Penggantian Paspor',
replacementReason: 'Hilang',
applicationPurpose: 'Kuliah di Luar Negeri',
passportType: 'PASPOR BIASA ELEKTRONIK 5 TAHUN',
fee: '650.000',
},
},
];