@extends('layouts.application-wizard') @section('step-content') @php $docs = $application->documents->groupBy('type'); @endphp
@csrf
{{-- KTP --}}
@include('applications.partials.upload-field', [ 'field' => 'ktp', 'label' => 'KTP Pemohon', 'accept' => '.jpg,.jpeg,.png,.pdf', 'hint' => 'Format: JPG, PNG, PDF. Maks 5MB.', 'required' => true, 'existing' => $docs->get('ktp', collect()), 'multiple' => false, ])
{{-- KK --}}
@include('applications.partials.upload-field', [ 'field' => 'kk', 'label' => 'Kartu Keluarga', 'accept' => '.jpg,.jpeg,.png,.pdf', 'hint' => 'Format: JPG, PNG, PDF. Maks 5MB.', 'required' => true, 'existing' => $docs->get('kk', collect()), 'multiple' => false, ])
{{-- Foto Usaha --}}
@include('applications.partials.upload-field', [ 'field' => 'foto_usaha', 'label' => 'Foto Tempat Usaha', 'accept' => '.jpg,.jpeg,.png', 'hint' => 'Upload minimal 1 foto. Format: JPG, PNG. Maks 5MB per file.', 'required' => true, 'existing' => $docs->get('foto_usaha', collect()), 'multiple' => true, ])
{{-- Formulir Fisik Pengisian --}}
@include('applications.partials.upload-field', [ 'field' => 'formulir_fisik', 'label' => 'Formulir Fisik Pengisian', 'accept' => '.jpg,.jpeg,.png,.pdf', 'hint' => 'Format: JPG, PNG, PDF. Maks 5MB.', 'required' => true, 'existing' => $docs->get('formulir_fisik', collect()), 'multiple' => false, ])
{{-- Dokumen Lainnya --}}
@include('applications.partials.upload-field', [ 'field' => 'dokumen_lainnya', 'label' => 'Dokumen Tambahan (Opsional)', 'accept' => '.jpg,.jpeg,.png,.pdf', 'hint' => 'Dokumen pendukung lainnya. Format: JPG, PNG, PDF. Maks 10MB per file.', 'required' => false, 'existing' => $docs->get('dokumen_lainnya', collect()), 'multiple' => true, ])
@endsection @section('step-footer')
Kembali
@endsection