main
ilhamwara 2025-04-21 13:23:00 +07:00
parent 4130b58e10
commit 76cd146a09
9 changed files with 542 additions and 12 deletions

View File

@ -49,6 +49,11 @@ class HomeController extends Controller
$data['total_usulan_prov'] = Kuesioner::where('tahun',date('Y'))->where('level',1)->count();
$data['total_usulan_nasional'] = Kuesioner::where('tahun',date('Y'))->where('level',2)->count();
$data['total_usulan_mandiri'] = Kuesioner::where('tahun',date('Y'))->where('level',3)->count();
$data['total_sekolah_kab'] = Kuesioner::where('tahun',date('Y'))->where('level',0)->where('status',6)->count();
$data['total_sekolah_prov'] = Kuesioner::where('tahun',date('Y'))->where('level',1)->where('status',6)->count();
$data['total_sekolah_nasional'] = Kuesioner::where('tahun',date('Y'))->where('level',2)->where('status',6)->count();
$data['total_sekolah_mandiri'] = Kuesioner::where('tahun',date('Y'))->where('level',3)->where('status',6)->count();
$data['route'] = 'modules';
return view($this->template.'.admin', $data);
}

View File

@ -51,7 +51,11 @@ class AdministrasiController extends Controller
$dok = DokumenAdministrasi::where('ms_sekolah_id',$row->ms_sekolah_id)->where('tahun',date('Y'))->first();
$action .= '<a href="#" data-link="'.@$dok->link.'" data-secureid="'.encode_id($row->KuesionerId).'" data-toggle="modal" data-target="#modal" title="View Data" data-jenisusulan="'.$jenis_usulan.'" class="btn btn-xs btn-block btn-primary btnModal"><i class="fal fa-pencil text-white"></i></a>';
if(session('group_alias') == 'sekolah'){
if($dok->status == 0){
$action .= '<a href="#" data-link="'.@$dok->link.'" data-secureid="'.encode_id($row->KuesionerId).'" data-toggle="modal" data-target="#modal" title="View Data" data-jenisusulan="'.$jenis_usulan.'" class="btn btn-xs btn-block btn-primary btnModal"><i class="fal fa-pencil text-white"></i></a>';
}
}
$action .= '<a href="#" data-link="'.@$dok->link.'" data-jenisusulan="'.$jenis_usulan.'" class="btn btn-xs btn-block btn-secondary toggle-row" data-toggle="tooltip" data-placement="top" title="JUDUL"><i class="fal fa-list text-white"></i></a>';
if(session('group_alias') == 'dinas'){
if($dok->status == 0){

View File

@ -71,6 +71,8 @@ class SKController extends Controller
$sekolah .= '<span class="badge badge-success">'.@$row->profile->tingkat->name.'</span>&nbsp;';
$sekolah .= '<span class="badge badge-primary">'.@$row->profile->status_sekolah.'</span>&nbsp;';
$sk = SK::whereRaw("sekolah::text LIKE '%".$row->sekolah->MsSekolahId."%'")->first();
$_data[] = [
'no' => $key+1,
'id' => encode_id($row->id),
@ -81,6 +83,8 @@ class SKController extends Controller
'penghargaan' => $penghargaan,
'penilaian' => $penilaian,
'progress' => $progress,
'dokumen_administrasi' => '-',
'tanggal_penetapan' => '<span style="width:100%;" class="text-left badge badge-primary mb-1">Tanggal Penetapan : '.$sk->tanggal_penetapan.'</span> <br> <a style="width:100%!important;" href="'.asset('uploads/'.$sk->file).'" target="_blank" class="btn btn-sm btn-warning"><i class="fal fa-download""></i>&nbsp;Download File SK</a',
'action' => $action,
];

View File

@ -0,0 +1,511 @@
%PDF-1.3
%ºß¬à
3 0 obj
<</Type /Page
/Parent 1 0 R
/Resources 2 0 R
/MediaBox [0 0 841.8899999999999864 595.2799999999999727]
/Contents 4 0 R
>>
endobj
4 0 obj
<<
/Length 1442
>>
stream
0.2667 w
0 G
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
26.6666666666666643 568.6133333333332303 12.8000000000000007 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
31.6666666666666643 555.1133333333333439 Td
( ) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
39.4666666666666686 568.6133333333332303 161.5999999999999943 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
44.4666666666666686 555.1133333333333439 Td
(Masa Awal Periode Penghasilan) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
201.0666666666666629 568.6133333333332303 163.7999999999999829 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
206.0666666666666629 555.1133333333333439 Td
(Masa Akhir Periode Penghasilan) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
364.8666666666666174 568.6133333333332303 105.3000000000000114 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
369.8666666666666174 555.1133333333333439 Td
(Nomor Pemotongan) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
470.1666666666666288 568.6133333333332303 40.3000000000000043 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
475.1666666666666288 555.1133333333333439 Td
(Status) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
510.466666666666697 568.6133333333332303 157.9000000000000057 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
515.466666666666697 555.1133333333333439 Td
(Status Tanda Tangan) Tj
T* (Elektronik) Tj
ET
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0.78 G
0. w
endstream
endobj
5 0 obj
<</Type /Page
/Parent 1 0 R
/Resources 2 0 R
/MediaBox [0 0 841.8899999999999864 595.2799999999999727]
/Contents 6 0 R
>>
endobj
6 0 obj
<<
/Length 1606
>>
stream
0. w
0.78 G
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
26.6666666666666643 568.6133333333332303 217.3000000000000682 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
31.6666666666666643 555.1133333333333439 Td
(NITKU/Nomor Identitas Sub Unit Organisasi) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
243.9666666666667254 568.6133333333332303 64.0999999999999943 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
248.9666666666667254 555.1133333333333439 Td
(Jenis Pajak) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
308.0666666666667197 568.6133333333332303 94.1000000000000227 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
313.0666666666667197 555.1133333333333439 Td
(Kode Objek Pajak) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
402.1666666666667993 568.6133333333332303 39.7999999999999972 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
407.1666666666667993 555.1133333333333439 Td
(NPWP) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
441.9666666666668107 568.6133333333332303 37.1000000000000014 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
446.9666666666668107 555.1133333333333439 Td
(Nama) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
479.0666666666668334 568.6133333333332303 144.8000000000000114 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
484.0666666666668334 555.1133333333333439 Td
(Dasar Pengenaan Pajak \(Rp\)) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
623.8666666666667879 568.6133333333332303 120. -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
628.8666666666667879 555.1133333333333439 Td
(Pajak Penghasilan \(Rp\)) Tj
ET
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0.78 G
0. w
endstream
endobj
7 0 obj
<</Type /Page
/Parent 1 0 R
/Resources 2 0 R
/MediaBox [0 0 841.8899999999999864 595.2799999999999727]
/Contents 8 0 R
>>
endobj
8 0 obj
<<
/Length 530
>>
stream
0. w
0.78 G
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
26.6666666666666643 568.6133333333332303 212.5000000000000284 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
31.6666666666666643 555.1133333333333439 Td
(Income Tax \(Rp\) For December/Last Period) Tj
ET
0.16 0.5 0.73 rg
0.78 G
0. w
0.16 0.5 0.73 rg
239.1666666666666856 568.6133333333332303 78.5 -33. re
f
BT
/F2 10 Tf
11.5 TL
1. g
244.1666666666666856 555.1133333333333439 Td
(Fasilitas Pajak) Tj
ET
0. G
0.2667 w
0. G
0.2667 w
0. G
0.2667 w
0.78 G
0. w
0. G
0.2667 w
0. G
0.2667 w
endstream
endobj
1 0 obj
<</Type /Pages
/Kids [3 0 R 5 0 R 7 0 R ]
/Count 3
>>
endobj
9 0 obj
<<
/Type /Font
/BaseFont /Helvetica
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
10 0 obj
<<
/Type /Font
/BaseFont /Helvetica-Bold
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
11 0 obj
<<
/Type /Font
/BaseFont /Helvetica-Oblique
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
12 0 obj
<<
/Type /Font
/BaseFont /Helvetica-BoldOblique
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
13 0 obj
<<
/Type /Font
/BaseFont /Courier
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
14 0 obj
<<
/Type /Font
/BaseFont /Courier-Bold
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
15 0 obj
<<
/Type /Font
/BaseFont /Courier-Oblique
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
16 0 obj
<<
/Type /Font
/BaseFont /Courier-BoldOblique
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
17 0 obj
<<
/Type /Font
/BaseFont /Times-Roman
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
18 0 obj
<<
/Type /Font
/BaseFont /Times-Bold
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
19 0 obj
<<
/Type /Font
/BaseFont /Times-Italic
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
20 0 obj
<<
/Type /Font
/BaseFont /Times-BoldItalic
/Subtype /Type1
/Encoding /WinAnsiEncoding
/FirstChar 32
/LastChar 255
>>
endobj
21 0 obj
<<
/Type /Font
/BaseFont /ZapfDingbats
/Subtype /Type1
/FirstChar 32
/LastChar 255
>>
endobj
22 0 obj
<<
/Type /Font
/BaseFont /Symbol
/Subtype /Type1
/FirstChar 32
/LastChar 255
>>
endobj
2 0 obj
<<
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/Font <<
/F1 9 0 R
/F2 10 0 R
/F3 11 0 R
/F4 12 0 R
/F5 13 0 R
/F6 14 0 R
/F7 15 0 R
/F8 16 0 R
/F9 17 0 R
/F10 18 0 R
/F11 19 0 R
/F12 20 0 R
/F13 21 0 R
/F14 22 0 R
>>
/XObject <<
>>
>>
endobj
23 0 obj
<<
/Producer (jsPDF 2.5.2)
/CreationDate (D:20250228131754+07'00')
>>
endobj
24 0 obj
<<
/Type /Catalog
/Pages 1 0 R
/OpenAction [3 0 R /FitH null]
/PageLayout /OneColumn
>>
endobj
xref
0 25
0000000000 65535 f
0000004159 00000 n
0000005992 00000 n
0000000015 00000 n
0000000152 00000 n
0000001646 00000 n
0000001783 00000 n
0000003441 00000 n
0000003578 00000 n
0000004228 00000 n
0000004353 00000 n
0000004484 00000 n
0000004618 00000 n
0000004756 00000 n
0000004880 00000 n
0000005009 00000 n
0000005141 00000 n
0000005277 00000 n
0000005405 00000 n
0000005532 00000 n
0000005661 00000 n
0000005794 00000 n
0000005896 00000 n
0000006244 00000 n
0000006330 00000 n
trailer
<<
/Size 25
/Root 24 0 R
/Info 23 0 R
/ID [ <62C9395FF280FD2C8B31785599F09851> <62C9395FF280FD2C8B31785599F09851> ]
>>
startxref
6434
%%EOF

View File

@ -60,7 +60,7 @@
<div class="p-3 bg-danger rounded overflow-hidden position-relative text-white mb-g">
<div class="">
<h3 class="display-4 d-block l-h-n m-0 fw-500">
21
{{@$total_sekolah_kab}}
</h3>
<span class="m-0 l-h-n">Total Sekolah Adiwiyata Kota</span>
</div>
@ -71,7 +71,7 @@
<div class="p-3 bg-warning rounded overflow-hidden position-relative text-white mb-g">
<div class="">
<h3 class="display-4 d-block l-h-n m-0 fw-500">
21
{{@$total_sekolah_prov}}
</h3>
<span class="m-0 l-h-n">Total Sekolah Adiwiyata Provinsi</span>
</div>
@ -82,7 +82,7 @@
<div class="p-3 bg-success rounded overflow-hidden position-relative text-white mb-g">
<div class="">
<h3 class="display-4 d-block l-h-n m-0 fw-500">
99
{{@$total_sekolah_nasional}}
</h3>
<span class="m-0 l-h-n">Total Sekolah Adiwiyata Nasional</span>
</div>
@ -93,7 +93,7 @@
<div class="p-3 bg-info rounded overflow-hidden position-relative text-white mb-g">
<div class="">
<h3 class="display-4 d-block l-h-n m-0 fw-500">
20
{{@$total_sekolah_mandiri}}
</h3>
<span class="m-0 l-h-n">Total Sekolah Adiwiyata Mandiri</span>
</div>

View File

@ -217,9 +217,12 @@
let newRow = `
<tr class="extra-row">
<td colspan="8">
${jenis_usulan} <br>
<a class="btn btn-primary btn-xs" href="${link}" target="_blank"><i class="fal fa-link"></i>&nbsp;Link Lampiran</a>
</td>
${jenis_usulan} <br>`
if(link != ''){
newRow += `<a class="btn btn-primary btn-xs" href="${link}" target="_blank"><i class="fal fa-link"></i>&nbsp;Link Lampiran</a>`;
}
newRow += `</td>
</tr>
`;
row.after(newRow);

View File

@ -399,7 +399,7 @@
<script type="text/javascript">
@if(@$kuesioner->status < 4)
$(document).ready(function() {
$('input[type="checkbox"], input[type="radio"], input[type="text"], textarea').attr('disabled', true);
// $('input[type="checkbox"], input[type="radio"], input[type="text"], textarea').attr('disabled', true);
});
@endif
$('.page').on('click',function(e){

View File

@ -145,10 +145,10 @@
<th data-field="npsn">NPSN</th>
<th data-field="nama">Nama Sekolah</th>
<th data-field="wilayah">Wilayah</th>
<th data-field="tingkat_sekolah">Dokumen Administrasi</th>
<!-- <th data-field="dokumen_administrasi">Dokumen Administrasi</th> -->
<th data-field="penilaian">Pemenuhan Kriteria</th>
<th data-field="progress">Progress</th>
<th data-field="tingkat_sekolah">SK</th>
<th data-field="tanggal_penetapan">SK</th>
</tr>
</thead>
<tbody></tbody>

View File

@ -26,7 +26,9 @@ Route::post('get/kabupaten',[AjaxController::class,'getKabupaten'])->name('getKa
Route::post('get/kecamatan',[AjaxController::class,'getKecamatan'])->name('getKecamatan');
Route::post('get/sekolah',[AjaxController::class,'getSekolah'])->name('getSekolah');
Route::get('sekolahNpsn',[AjaxController::class,'sekolahNpsn'])->name('sekolahNpsn');
Route::get('hash/{hash}', function ($hash) {
return Hash::make($hash);
});
Route::middleware(Session::class)->name('modules.')->group(function () {
include_route_files(__DIR__ . '/modules');
@ -34,6 +36,7 @@ Route::middleware(Session::class)->name('modules.')->group(function () {
Route::get('logout',[CustomLoginController::class,'logout'])->name('logout');
});
Route::get('/', function () {
return redirect('login');
});