Update
This commit is contained in:
@@ -363,17 +363,6 @@
|
||||
.append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(totalReal) +"</strong></td>" )
|
||||
},
|
||||
startRender: function ( rows, group, index ) {
|
||||
// let group1 = rows.data().pluck("GROUP1");
|
||||
// let group2 = rows.data().pluck("GROUP2");
|
||||
|
||||
// let groupNumber = index == 0 ? group1[0] : group2[0];
|
||||
// if (index == 0){
|
||||
// return $("<tr/>")
|
||||
// .append("<td colspan=5><a href=\'/akun/index/detail/?acc="+groupNumber.split(".").join("_")+"\'>" + groupNumber + ". " + group + "</a></td>")
|
||||
// }else{
|
||||
// return $("<tr/>")
|
||||
// .append("<td colspan=5> <a href=\'/akun/index/detail/?acc="+groupNumber.split(".").join("_")+"\'><strong>" + groupNumber + ". " + group + "</strong></a></td>")
|
||||
// }
|
||||
},
|
||||
dataSrc: ["groupall"]
|
||||
},
|
||||
@@ -391,14 +380,6 @@
|
||||
extype: "excel"
|
||||
}
|
||||
},
|
||||
// {
|
||||
// text: "<i class=\'fas fa-file-pdf\'></i> Pdf",
|
||||
// className: "export-data link-pdf",
|
||||
// attr: {
|
||||
// formid: "frm_proses_spm_sp2d",
|
||||
// extype: "pdf"
|
||||
// }
|
||||
// }
|
||||
],
|
||||
}
|
||||
],
|
||||
@@ -529,61 +510,6 @@
|
||||
fixedColumns: {
|
||||
left: 3,
|
||||
},
|
||||
// rowGroup: {
|
||||
// endRender: function ( rows, group, index ) {
|
||||
// let sum = [];
|
||||
// let sumReal = [];
|
||||
// let total = 0;
|
||||
// let totalReal = 0;
|
||||
// for(let x=0;x<12;x++){
|
||||
// xx = ("00"+(x+1));
|
||||
// xx = xx.substring(xx.length - 2);
|
||||
// sum[x] = rows.data().pluck("v_akb_"+xx).reduce( function (a, b) {
|
||||
// return a + b * 1;
|
||||
// }, 0);
|
||||
// total += sum[x];
|
||||
|
||||
// sumReal[x] = rows.data().pluck("v_bku_"+xx).reduce( function (a, b) {
|
||||
// return a + b * 1;
|
||||
// }, 0);
|
||||
// totalReal += sumReal[x];
|
||||
// }
|
||||
// let textmuted = index == 1 ? "text-muted":"";
|
||||
// let labelGroup = index == 1 ?"JUMLAH | " + group : "TOTAL";
|
||||
// return $("<tr/>")
|
||||
// .append( "<td></td>")
|
||||
// .append( "<td colspan='2' class=\'text-left " + textmuted +"\'><strong>"+labelGroup+"</strong></td>")
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[0]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[0]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[1]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[1]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[2]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[2]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[3]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[3]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[4]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[4]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[5]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[5]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[6]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[6]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[7]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[7]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[8]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[8]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[9]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[9]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[10]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[10]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(sum[11]) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(sumReal[11]) +"</strong></td>" )
|
||||
// .append( "<td class=\'text-right " + textmuted +"\'><strong>"+ separateNumberIndo(total) +"</strong></td>" )
|
||||
// .append( "<td class='text-success text-right'><strong>"+ separateNumberIndo(totalReal) +"</strong></td>" )
|
||||
// },
|
||||
// startRender: function ( rows, group, index ) {
|
||||
// },
|
||||
// dataSrc: ["kode_skpd"]
|
||||
// },
|
||||
scrollX: true,
|
||||
scrollY: "350px",
|
||||
});
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php if ($role != "bendahara"){ ?>
|
||||
<?php if (Auth::user()->can("Upload DBH Rencana Belanja") || Auth::user()->can("Upload DAK Rencana Belanja") || $role == "superadmin"){ ?>
|
||||
<li class="nav-item">
|
||||
<a href="#" class="nav-link">
|
||||
<i class="fas fa-upload nav-icon"></i>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" data-toggle="dropdown" href="#">
|
||||
<i class="fa fa-user mr-2"></i>{{ Auth::user()->name." | Role : ".strtoupper($role) }}</span>
|
||||
<i class="fa fa-user mr-2"></i>{{ strtoupper(Auth::user()->name)." | ROLE : ".strtoupper($role) }}</span>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
||||
<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>
|
||||
|
||||
@@ -32,7 +32,9 @@
|
||||
<form id="frmRealBelanja" action="{{ url('/realisasi-belanja/'.$BelanjaRealisasi->id.'/submit') }}" method="POST" autocomplete="off">
|
||||
@csrf
|
||||
@include('realisasi_belanja.form')
|
||||
<button id="btnUbah" class="btn btn-sm btn-warning">Ubah</button>
|
||||
@if(auth()->user()->can('Update Detail Realisasi Belanja'))
|
||||
<button id="btnUbah" class="btn btn-sm btn-warning">Ubah</button>
|
||||
@endif
|
||||
<input id="btnSubmit" class="btn btn-sm btn-success" type="submit" value="Simpan" style="display: none;">
|
||||
<button type="button" id="btnCancel" class="btn btn-sm btn-danger" style="display: none;">Batal</button>
|
||||
</form>
|
||||
|
||||
@@ -104,11 +104,11 @@
|
||||
<textarea id="txt_simtrad4_uraian" name="txt_simtrad4_uraian" class="form-control" required></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_sp2d_bun">SP2D BUN</label>
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_sp2d_bun">SP2D Bendahara Umum Negara</label>
|
||||
<input id="txt_simtrad4_sp2d_bun" name="txt_simtrad4_sp2d_bun" class="form-control" required value="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_sp2d_bun">TGL SP2D BUN</label>
|
||||
<label class="col-form-label label-align" for="txt_simtrad4_sp2d_bun">TGL SP2D Bendahara Umum Negara</label>
|
||||
<input id="txt_simtrad4_tgl_sp2d_bun" name="txt_simtrad4_tgl_sp2d_bun" class="form-control indo_date" required value="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user