@extends('index') @section('content') @if(session('success'))
{{ session('success') }}
@endif @if(session('s_search_status')) @php $national = App\Lesson::where('category',1) ->where('active',1) ->where('study_major_id',$class->study_major_id) ->where('study_program_id',$class->study_program_id) ->where('study_competency_id',$class->study_competency_id) ->orderBy('urutan') ->get(); $area = App\Lesson::where('category',2) ->where('active',1) ->where('study_major_id',$class->study_major_id) ->where('study_program_id',$class->study_program_id) ->where('study_competency_id',$class->study_competency_id) ->orderBy('urutan') ->get(); $interestc1 = App\Lesson::where('category',3) ->where('subcategory',1) ->where('active',1) ->where('study_major_id',$class->study_major_id) ->where('study_program_id',$class->study_program_id) ->where('study_competency_id',$class->study_competency_id) ->orderBy('urutan') ->get(); $interestc2 = App\Lesson::where('category',3) ->where('subcategory',2) ->where('active',1) ->where('study_major_id',$class->study_major_id) ->where('study_program_id',$class->study_program_id) ->where('study_competency_id',$class->study_competency_id) ->orderBy('urutan') ->get(); $interestc3 = App\Lesson::where('category',3) ->where('subcategory',3) ->where('active',1) ->where('study_major_id',$class->study_major_id) ->where('study_program_id',$class->study_program_id) ->where('study_competency_id',$class->study_competency_id) ->orderBy('urutan') ->get(); @endphp
{{ csrf_field() }}
@php $i = 1; foreach($national as $rows) { @endphp @php $i++; } @endphp @php $i = 1; foreach($area as $rows) { if($rows->name != 'Kewirausahaan' AND $rows->name != 'Baca Tulis Al-Quran/Iman dan Taqwa') { @endphp @php $i++; } elseif($rows->name == 'Baca Tulis Al-Quran/Iman dan Taqwa') { $score_qr = true; } } @endphp @if($score_qr) @endif @if(count($interestc1)) @php $i = 1; foreach($interestc1 as $rows) { @endphp @php $i++; } @endphp @endif
No Mata Pelajaran
Muatan Nasional
{{ $rows->name }}
Muatan Kewilayahan
{{ $rows->name }}
Muatan Lokal
- Baca Tulis Al-Quran/Iman dan Taqwa
Muatan Peminatan Kejuruan
{{ $rows->name }}
Dasar Program Keahlian
Kompetensi Keahlian
@endif @endsection @push('script') @endpush