Added page to print sk-hasil-belajar freely

This commit is contained in:
Gregorio Chiko Putra
2019-05-17 12:01:23 +07:00
parent b2f78ed656
commit 193a5d3b6c
11 changed files with 670 additions and 106 deletions

View File

@@ -46,8 +46,7 @@ class SiswaController extends Controller
}
$siswa = Siswa::where('nisn', $request->nisn)
->where('tanggal_lahir', $tanggalLahir)
->first();
->where('tanggal_lahir', $tanggalLahir);
if ($request->with !== null)
$siswa = $siswa->with($request->with);