Update
This commit is contained in:
@@ -24,15 +24,8 @@
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA" name="ta">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<label>Tahun Anggaran</label>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<h1>S I D A T A</h1>
|
||||
<h2 style="letter-spacing:3px;">Sistem Informasi Dana Transfer</h2>
|
||||
<img src="{{ URL::to('/sidata.png') }}" style="width:400px; height:370px; opacity:.1; margin:20px 0;">
|
||||
<h5 style="letter-spacing:3px;" class="text-muted mb-4">Badan Pengelola Keuangan Daerah<br>Provinsi DKI Jakarta</h5>
|
||||
<h5 style="letter-spacing:3px;" class="text-muted mb-4">Tahun Anggaran {{ !empty(Session::get('Tahun_Anggaran'))?Session::get('Tahun_Anggaran'):date("Y") }}<br>Badan Pengelola Keuangan Daerah<br>Provinsi DKI Jakarta</h5>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@@ -31,15 +31,8 @@
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<label>Tahun Anggaran</label>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="col-11">
|
||||
|
||||
@@ -27,14 +27,7 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group col-1">
|
||||
<label>Tahun Anggaran</label>
|
||||
<select class="form-control form-control-sm" id="srcTA">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -30,15 +30,8 @@
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA" name="ta">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<label>Tahun Anggaran</label>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
|
||||
@@ -73,10 +73,6 @@
|
||||
}
|
||||
});
|
||||
|
||||
$("#srcTA").on("change",function(){
|
||||
dtTable.draw();
|
||||
});
|
||||
|
||||
var dtTable = $('#dtTableSKPP').DataTable( {
|
||||
"processing": true,
|
||||
"serverSide": true,
|
||||
|
||||
@@ -21,6 +21,20 @@
|
||||
<div id="list_notif" class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-calendar mr-2"></i>TA: {{ !empty(Session::get('Tahun_Anggaran'))?Session::get('Tahun_Anggaran'):date("Y") }}</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
||||
<a href="{{ URL::to("/tahun-anggaran/2021") }}" class='dropdown-item'>2021</a>
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<a href='".URL::to("/tahun-anggaran/".$rowTA)."' class='dropdown-item' >$rowTA</a>";
|
||||
}
|
||||
@endphp
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-user mr-2"></i>{{ strtoupper(Auth::user()->name)." | ROLE : ".strtoupper($role) }}</span>
|
||||
|
||||
@@ -27,15 +27,8 @@
|
||||
<div class="row">
|
||||
<div class="col-1">
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA" name="ta">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<label>Tahun Anggaran</label>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
@@ -273,7 +266,7 @@
|
||||
$("td:eq(6)", nRow).html(separateNumberIndo(aData["volume_satuan"]));
|
||||
$("td:eq(8)", nRow).html(separateNumberIndo(aData["jumlah_realisasi"]));
|
||||
$("td:eq(9)", nRow).html(separateNumberIndo(aData["volume_satuan_realisasi"]));
|
||||
$("td:eq(11)", nRow).html('<a href="{{ $baseUrl }}/realisasi-belanja/' + aData["id"] +'/submit" class="btn btn-sm btn-default mr-2"><i class="fa fa-eye"></i></a>'+btnInput);
|
||||
$("td:eq(11)", nRow).html('<a href="{{ $baseUrl }}/realisasi-belanja/' + aData["id"] +'/submit" class="btn btn-sm btn-info mr-2"><i class="fa fa-eye"></i></a>'+btnInput);
|
||||
|
||||
return nRow;
|
||||
},
|
||||
|
||||
@@ -30,15 +30,8 @@
|
||||
<form id="uploadData" action="/upload-realisasi-belanja/dak" method="POST" autocomplete="off" enctype="multipart/form-data">
|
||||
@csrf
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA" name="ta">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<label>Tahun Anggaran</label>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Jenis Dana</label>
|
||||
|
||||
@@ -31,15 +31,8 @@
|
||||
<form id="uploadData" action="/upload-realisasi-belanja/dak" method="POST" autocomplete="off" enctype="multipart/form-data">
|
||||
@csrf
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA" name="ta">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<label>Tahun Anggaran</label>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Jenis Dana</label>
|
||||
|
||||
@@ -2,14 +2,7 @@
|
||||
<div class="col-6">
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_kotor">Tahun Anggaran</label>
|
||||
<select id="txt_ta" name="txt_ta" style="width:100%" class="form-control" required>
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option value='$rowTA'>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<input class="form-control form-control-sm" id="txt_ta" name="txt_ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_kotor">DBH / DAK</label>
|
||||
|
||||
@@ -32,14 +32,7 @@
|
||||
<div class="col-1">
|
||||
<div class="form-group">
|
||||
<label>Periode</label>
|
||||
<select class="form-control form-control-sm" id="srcTA" name="ta">
|
||||
@php
|
||||
$listTA = Session::get('listTA');
|
||||
foreach($listTA as $rowTA){
|
||||
echo "<option>$rowTA</option>";
|
||||
}
|
||||
@endphp
|
||||
</select>
|
||||
<input class="form-control form-control-sm" id="srcTA" name="ta" value="{{ getTA() }}" readonly>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-11">
|
||||
@@ -168,9 +161,9 @@
|
||||
let info = dtTable.page.info();
|
||||
let numStart = info.page;
|
||||
let index = (numStart * dtTable.page.len()) + iDisplayIndex + 1;
|
||||
let btnEdit = {{ !empty(auth()->user()->can('Update DBH Realisasi Pendapatan'))?auth()->user()->can('Update DBH Realisasi Pendapatan'):"false" }} ?"<a class='btn btn-default btn-sm ml-1' href='{{ $baseUrl }}/realisasi-pendapatan/" + aData["id"] + "/edit' title='Ubah'><i class='fa fa-edit'></i></a>":"";
|
||||
let btnEdit = {{ !empty(auth()->user()->can('Update DBH Realisasi Pendapatan'))?auth()->user()->can('Update DBH Realisasi Pendapatan'):"false" }} ?"<a class='btn btn-warning btn-sm ml-1' href='{{ $baseUrl }}/realisasi-pendapatan/" + aData["id"] + "/edit' title='Ubah'><i class='fa fa-edit'></i></a>":"";
|
||||
btnEdit = aData["rkud_no_sts"] ==""?btnEdit:"";
|
||||
let btnDelete = {{ !empty(auth()->user()->can('Delete DBH Realisasi Pendapatan'))?auth()->user()->can('Delete DBH Realisasi Pendapatan'):"false" }} ?"<button type='submit' class='btn btn-default btn-sm ml-1' title='Hapus'><i class='fa fa-trash'></i></button>":"";
|
||||
let btnDelete = {{ !empty(auth()->user()->can('Delete DBH Realisasi Pendapatan'))?auth()->user()->can('Delete DBH Realisasi Pendapatan'):"false" }} ?"<button type='submit' class='btn btn-danger btn-sm ml-1' title='Hapus'><i class='fa fa-trash'></i></button>":"";
|
||||
btnDelete = aData["rkud_no_sts"] ==""?btnDelete:"";
|
||||
|
||||
$("td:eq(0)", nRow).html(index);
|
||||
@@ -182,7 +175,7 @@
|
||||
$("td:eq(9)", nRow).html(
|
||||
"<form class='form-delete' action='{{ $baseUrl }}/realisasi-pendapatan/"+aData['id']+"' method='POST'>"+
|
||||
"<input type='hidden' name='_token' id='csrf-token' value='{{ Session::token() }}' /><input type='hidden' name='_method' value='DELETE'>"+
|
||||
"<a class='btn btn-default btn-sm' href='{{ $baseUrl }}/realisasi-pendapatan/"+aData['id']+"' title='Lihat'><i class='fa fa-eye'></i></a>"+
|
||||
"<a class='btn btn-info btn-sm' href='{{ $baseUrl }}/realisasi-pendapatan/"+aData['id']+"' title='Lihat'><i class='fa fa-eye'></i></a>"+
|
||||
btnEdit + btnDelete + "</form>");
|
||||
|
||||
return nRow;
|
||||
|
||||
Reference in New Issue
Block a user