{userName}
- {description} - {time} -Pengajuan Kredit
-- Semua langkah selesai - Anda telah menyelesaikan proses -
-Langkah {activeStep + 1}/4
- {renderStepContent(activeStep)} -{code}
-Credit Request
-BRI Account Number
-- {data?.account_number || 'Loading...'} -
-Amount
- {data?.status === 'under_review' ? ( - - setData((prev: any) => ({ ...prev, amount: target.value })) - } - placeholder="Nominal Pinjaman" - /> - ) : ( -- {fCurrency(data?.amount) || 'Loading...'} -
- )} -Period
- {data?.status === 'under_review' ? ( -- {data?.period_amount} {toCamelCase(data?.period_type) || 'Loading...'} -
- )} -Status
-- {snakeToTitleCase(data?.status) || 'Loading...'} -
-Finalized by
-- {data.finalize_by && - `${snakeToTitleCase(data?.finalize_by)} at ${moment(data?.updated_at).format('DD-MM-YYYY HH:mm:ss')}`} -
-Debitur Info's
-Application Date
-- {moment(data?.application_date).format('dddd, MMMM DD, YYYY') || 'Loading...'} -
-Company
-- {data?.company?.name || 'Loading...'} -
-Employee Id
-- {data?.debtor?.employee_id || 'Loading...'} -
-Name
-- {data?.debtor?.name || 'Loading...'} -
-Phone Number
-- {data?.debtor?.phone || 'Loading...'} -
-Type
-- {toCamelCase(data?.debtor?.type) || 'Loading...'} -
-Mariage
-- {data?.debtor?.marriage_type || 'Loading...'} -
-Note's
-No note's available
- )} - {data?.status === 'under_review' && ( - <> -Debitur Document's
-- {toCamelCase(data?.debtor?.identity_type) || 'Loading...'} -
-Kartu Keluarga (Vica Familia)
-{data?.debtor?.marriage_type || 'Loading...'}
-Photo
-Spouse ({data?.debtor?.spouse_type}) Photo
-- Spouse ({data?.debtor?.spouse_type}) {data?.debtor?.spouse_file_type} -
-Supporting Document's
-{item.label}
-{code}
-Credit Request
-BRI Account Number
-- {data?.account_number || 'Loading...'} -
-Amount
-- {fCurrency(data?.amount) || 'Loading...'} -
-Period
-- {data?.period_amount} {toCamelCase(data?.period_type) || 'Loading...'} -
-Status
-- {snakeToTitleCase(data?.status) || 'Loading...'} -
-Debitur Info's
-Application Date
-- {moment(data?.application_date).format('dddd, MMMM DD, YYYY') || 'Loading...'} -
-Company
-- {data?.company?.name || 'Loading...'} -
-Employee Id
-- {data?.debtor?.employee_id || 'Loading...'} -
-Name
-- {data?.debtor?.name || 'Loading...'} -
-Phone Number
-- {data?.debtor?.phone || 'Loading...'} -
-Type
-- {toCamelCase(data?.debtor?.type) || 'Loading...'} -
-Mariage
-- {data?.debtor?.marriage_type || 'Loading...'} -
-Note's
-Debitur Document's
-- {toCamelCase(data?.debtor?.identity_type) || 'Loading...'} -
-Kartu Keluarga (Vica Familia)
-{data?.debtor?.marriage_type || 'Loading...'}
-Photo
-Spouse ({data?.debtor?.spouse_type}) Photo
-- Spouse ({data?.debtor?.spouse_type}) {data?.debtor?.spouse_file_type} -
-Supporting Document's
-{item.label}
-- {data.row.original.period_amount} {toCamelCase(data.row.original.period_type)} -
- > - ); - } - }, - { - accessorFn: (row) => row.status, - id: 'status', - header: ({ column }) =>{String(snakeToTitleCase(data.row.original.finalize_by || '')).toUpperCase()}
-- - {data.row.original.finalize_by && - moment(data.row.original.update_at).format('DD-MM-YYYY HH:mm:ss')} - -
- > - ); - } - }, - // { - // accessorFn: (row) => row.finalize_by, - // id: 'finalize_by', - // header: ({ column }) =>Tipe Debitur
-Data Calon Debitur
-Persyaratan Lain
-{type.label_red}
-{file.file?.name}
-Tipe Debitur
-{file.file?.name}
-{file.file?.name}
-{file.file?.name}
-{file.file?.name}
-{file.file?.name}
-{row.original['label']}
; - }, - meta: { - headerClassName: 'w-auto' - } - } - ]; - // Create dynamic groups for multi-level headers - const dateColumns = dateKeys.map((date) => ({ - id: date, - header: (() => { - if (interval === 'month') { - return format(new Date(date), 'MMM yyyy'); - } else if (interval === 'week') { - const momentDate = moment(date); - const startOfMonth = momentDate.clone().startOf('month'); - const weekNumber = momentDate.isoWeek() - startOfMonth.isoWeek() + 1; - return `Week ${weekNumber}, \n ${momentDate.format('MMM yyyy')}`; - } else if (interval === 'day') { - return format(new Date(date), 'MMM dd, yyyy'); - } - })(), - columns: ['total'].map((metric) => ({ - accessorFn: (row: any) => row[`${date}_${metric}`], - id: `${date}_${metric}`, - header: snakeToTitleCase(metric), - enableSorting: false, - enableHiding: false, - cell: ({ row }: { row: { original: Record