@extends('layouts.app') @section('site-name','Sistem Informasi SPP') @section('page-name','Siswa') @section('content')

@yield('page-name')

Tambah Siswa
@if(session()->has('msg'))
@if(session()->get('type') == 'success') @else @endif {{ session()->get('msg') }}
@endif
@foreach ($siswa as $index => $item) @endforeach
No. Kelas Nama Wali Telp. Wali Yatim
{{ $index+1 }} {{ $item->kelas->nama }}{{ isset($item->kelas->periode) ? "(".$item->kelas->periode->nama.")" : ''}} {{ $item->nama }} {{ $item->nama_wali }} {{ $item->telp_wali }} @if($item->is_yatim) Yatim @endif
@csrf
@endsection @section('js') @endsection