Tambah Manual Book
This commit is contained in:
@@ -48,4 +48,14 @@ class HomeController extends Controller
|
|||||||
echo $decryptedContent;
|
echo $decryptedContent;
|
||||||
}, 'file.jpg');
|
}, 'file.jpg');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function downloadManual()
|
||||||
|
{
|
||||||
|
$file = "manual_aplikasi_sidata.pdf";
|
||||||
|
$headers = [
|
||||||
|
'Content-Type' => 'application/pdf',
|
||||||
|
'Content-Disposition' => 'attachment;filename='.$file
|
||||||
|
];
|
||||||
|
return response()->download($file , $file, $headers);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ class RealisasiBelanjaController extends Controller
|
|||||||
$dataTotal = DB::select(DB::raw("SELECT COUNT(ID) as JML FROM ($sqlStr) x"));
|
$dataTotal = DB::select(DB::raw("SELECT COUNT(ID) as JML FROM ($sqlStr) x"));
|
||||||
$data = DB::select(DB::raw("SELECT a.*,b.jml,NVL(c.jml_spd,0) AS jml_spd FROM (".$sqlStr.$filter.") a
|
$data = DB::select(DB::raw("SELECT a.*,b.jml,NVL(c.jml_spd,0) AS jml_spd FROM (".$sqlStr.$filter.") a
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
SELECT I_IDRSK, SUM(V_REALISASI) AS jml
|
SELECT I_IDRSK, SUM(REALISASI_1) AS jml
|
||||||
FROM NEWSIPKD.VW_REALISASI_BELANJA_PERBULAN
|
FROM NEWSIPKD.VW_REALISASI_BELANJA_PERBULAN
|
||||||
WHERE C_ANGG_TAHUN = $ta
|
WHERE C_ANGG_TAHUN = $ta
|
||||||
GROUP BY I_IDRSK
|
GROUP BY I_IDRSK
|
||||||
|
|||||||
Binary file not shown.
@@ -2,5 +2,5 @@
|
|||||||
<div class="float-right d-none d-sm-block">
|
<div class="float-right d-none d-sm-block">
|
||||||
<b>Version</b> 1.0
|
<b>Version</b> 1.0
|
||||||
</div>
|
</div>
|
||||||
<strong>Copyright © 2022 <a href="#" class="navy-link">Pusat Data dan Informasi BPKD Provinsi DKI Jakarta</a>.</strong> All rights reserved.
|
<strong>Copyright © 2022 <a href="#" class="navy-link">Pusat Data dan Informasi Keuangan BPKD Provinsi DKI Jakarta</a>.</strong> All rights reserved.
|
||||||
</footer>
|
</footer>
|
||||||
@@ -39,8 +39,13 @@
|
|||||||
<i class="fa fa-user mr-2"></i>{{ strtoupper(Auth::user()->name)." | ROLE : ".strtoupper($role) }}</span>
|
<i class="fa fa-user mr-2"></i>{{ strtoupper(Auth::user()->name)." | ROLE : ".strtoupper($role) }}</span>
|
||||||
</a>
|
</a>
|
||||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
||||||
|
@php if(strtolower($role)!="skpd"){ @endphp
|
||||||
|
<a class="dropdown-item" title="Manual Book" href="{{ URL::to("/manual-book") }}" target="_blank">
|
||||||
|
<i class="fa fa-book mr-2"></i> Manual Book
|
||||||
|
</a>
|
||||||
|
@php } @endphp
|
||||||
<a class="dropdown-item modalButton" title="Ganti Kata Sandi" href="{{ route("users.changepass", Auth::user()->id) }}" ><i class="fa fa-key mr-2"></i> Ganti Kata Sandi</a>
|
<a class="dropdown-item modalButton" title="Ganti Kata Sandi" href="{{ route("users.changepass", Auth::user()->id) }}" ><i class="fa fa-key mr-2"></i> Ganti Kata Sandi</a>
|
||||||
<a class="dropdown-item" href="{{ route('logout') }}"><i class="fas fa-sign-out-alt mr-2"></i> Log Out</a>
|
<a class="dropdown-item" href="{{ route('logout') }}"><i class="fas fa-sign-out-alt mr-2"></i> Log Out</a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -144,4 +144,5 @@ Route::group(['middleware' => 'auth'], function () {
|
|||||||
Route::get('/{kode}/download', [LaporanFileController::class,'download']);
|
Route::get('/{kode}/download', [LaporanFileController::class,'download']);
|
||||||
});
|
});
|
||||||
Route::resource('laporan-file', LaporanFileController::class);
|
Route::resource('laporan-file', LaporanFileController::class);
|
||||||
|
Route::get('manual-book', [HomeController::class, 'downloadManual']);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user