@extends('layouts.participant') @section('title') Edit Laporan Klasikal @endsection @section('customStyle') @endsection @section('content')
@csrf @method('post')

EDIT LAPORAN KLASIKAL
PKKP {{date('Y')}}

@if(session('status'))
@if (session('status')) Berhasil Memperbaharui laporan! @endif
@endif @php $fields = [ 'jumlah_penduduk_ls' => [ 'label' => "JUMLAH PENDUDUK", 'type' =>'text' ], 'jumlah_pemuda_ls' => [ 'label' => "JUMLAH PEMUDA", 'type' =>'text' ], 'potensi_desa_ls' => [ 'label' => "POTENSI DESA", 'type' =>'text' ], 'identifikasi_masalah_ls' => [ 'label' => "IDENTIFIKASI MASALAH DESA", 'type' =>'text' ], 'bentuk_pendampingan_ls' => [ 'label' => "BENTUK PENDAMPINGAN MASYARAKAT", 'type' =>'text' ], 'jumlah_pemuda_terdampingi_ls' => [ 'label' => 'JUMLAH PEMUDA YANG TERDAMPINGI', 'type' =>'text' ], 'nama_pemuda_terdampingi_ls' => [ 'label' => 'NAMA PEMUDA YANG TERDAMPINGI', 'type' =>'text' ], 'nama_pemuda_terdampingi_ls' => [ 'label' => 'NAMA PEMUDA YANG TERDAMPINGI', 'type' =>'text' ], 'jumlah_kelompok_ls' => [ 'label' => 'JUMLAH KELOMPOK', 'type' =>'text' ], 'nama_kelompok_ls' => [ 'label' => 'NAMA KELOMPOK', 'type' =>'text' ], 'hasil_pendampingan_ls' => [ 'label' => 'HASIL PEDAMPINGAN', 'type' =>'text' ], 'kendala_ls' => [ 'label' => 'KENDALA YANG DIHADAPI', 'type' =>'text' ], 'tindak_lanjut_program_ls' => [ 'label' => 'TINDAK LANJUT PROGRAM', 'type' =>'text' ], 'komentar_mentor_ls' => [ 'label' => 'KOMENTAR MENTOR', 'type' =>'text' ] ]; // dd($fields); @endphp
Dengan melakukan pengeditan, status validasi akan dikembalikan ke belum divalidasi untuk divalidasi ulang oleh mentor
@error('bulan_kla') @enderror

{{ $data->file_kla }}
@error('file_kla') {{ $message }} @enderror
{{--
@error('file') {{ $message }} @enderror
--}}
@if (date('Y-m-d H:i:s') > date('Y-m-27 17:00:00')) @else @endif Kembali

Laporan Tersimpan :

@foreach ($reports as $key => $report) @endforeach
No. Judul Komentar Status Aksi
{{$key + 1}} Laporan Klasikal {{$report->bulan_kla}}-{{$report->tahun_kla}} {{$report->komentar_kla}} @if ($report->status_kla == '0') Belum Diverifikasi @else Sudah Diverifikasi @endif
@endsection @section('script') @if (Session::has('status') && Session::get('status') == 'has-report') @elseif (Session::has('status') && Session::get('status') == 'invalid-month') @endif @if (Session::has('status') && Session::get('status') == true) @endif @if (Session::has('gagal') && Session::get('gagal') == true) @endif @if (Session::has('input_kurang') && Session::get('input_kurang') == true) @endif @endsection