@extends('layouts.app') @section('title', isset($target) ? 'Edit Target Hafalan' : 'Buat Target Hafalan') @section('content')

{{ isset($target) ? 'Edit Target Hafalan' : 'Buat Target Hafalan' }}

{{ $student->name }} — {{ $student->classRoom?->class_name ?? '-' }}

@if (session('success'))
{{ session('success') }}
@endif @if (session('error'))
{{ session('error') }}
@endif @if ($errors->any())
@endif

Detail Target

@csrf @if (isset($target)) @method('PUT') @endif
@if (isset($target))
is_active) ? 'checked' : '' }} class="rounded border-slate-300 dark:border-white/10 text-emerald-600 focus:ring-emerald-500/20">
@endif

Daftar Surah

@if ($templates->isNotEmpty()) @endif
@if (isset($target) && $target->items->isNotEmpty()) @foreach ($target->items as $idx => $item)
dari
s/d
@endforeach @endif
Kembali

Info Target

Atur target hafalan untuk siswa. Pilih surah dan rentang ayat yang harus dihafal. Progres dihitung dari record Ziadah terakhir.

@endsection @push('scripts') @endpush