laporan file dan spd pada dbh
This commit is contained in:
@@ -15,10 +15,10 @@
|
||||
<?php
|
||||
foreach($SPDs as $spd){ ?>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="spd[]" value="{{ $spd->i_spdno_dok }}" {{ array_search($spd->i_spdno_dok, array_column($selected, "no_spd")) > -1?"checked":"" }}></td>
|
||||
<td>{{ $spd->i_spdno_dok }}</td>
|
||||
<td class="text-center">{{ date("d-m-Y",strtotime($spd->d_spdno)) }}</td>
|
||||
<td class="text-right">{{ separateNumberIndo($spd->jml) }}</td>
|
||||
<td><input type="checkbox" name="spd[]" value="{{ $spd->no_spd }}" {{ array_search($spd->no_spd, array_column($selected, "no_spd")) > -1?"checked":"" }}></td>
|
||||
<td>{{ $spd->no_spd }}</td>
|
||||
<td class="text-center">{{ date("d-m-Y",strtotime($spd->tgl)) }}</td>
|
||||
<td class="text-right">{{ separateNumberIndo($spd->jumlah) }}</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
"Volume Realisasi",
|
||||
"Unit Realisasi",
|
||||
"SPD",
|
||||
"Jenis",
|
||||
"Aksi"
|
||||
);
|
||||
|
||||
@@ -272,6 +273,7 @@
|
||||
{ "data": "volume_satuan_realisasi", "className":"text-center", "defaultContent":"0", "width":50 },
|
||||
{ "data": "unit_satuan_realisasi", "className":"text-center", "defaultContent":"-", "width":50 },
|
||||
{ "data": null},
|
||||
{ "data": "jenis_dana", "className":"text-center"},
|
||||
{ "data": null}
|
||||
],
|
||||
"rowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull, oSettings) {
|
||||
@@ -293,8 +295,9 @@
|
||||
$("td:eq(6)", nRow).html(separateNumberIndo(aData["volume_satuan"]));
|
||||
$("td:eq(8)", nRow).html(realisasi);
|
||||
$("td:eq(9)", nRow).html(separateNumberIndo(aData["volume_satuan_realisasi"]));
|
||||
$("td:eq(11)", nRow).html(<?= getRole()=="bendahara"?'"<a class=\"modalButton\" title=\"Pilih SPD\" href=\"'.URL::to("/").'/realisasi-belanja/"+aData["kode_rsk"]+"/ubah-spd/?redirect=/realisasi-belanja\">"+aData["jml_spd"]+"</a>"':'aData["jml_spd"]' ?>);
|
||||
$("td:eq(12)", nRow).html(`
|
||||
$("td:eq(11)", nRow).html(<?= getRole()=="bendahara"?'"<a class=\"modalButton\" title=\"Pilih SPD [ RSK: "+aData["kode_rsk"]+" ]\" href=\"'.URL::to("/").'/realisasi-belanja/"+aData["kode_rsk"]+"/ubah-spd/?redirect=/realisasi-belanja\">"+aData["jml_spd"]+"</a>"':'aData["jml_spd"]' ?>);
|
||||
$("td:eq(12)", nRow).html(aData["jenis_dana"]+"::"+aData["nama_subjenis_dana"]);
|
||||
$("td:eq(13)", nRow).html(`
|
||||
<form class="form-delete" action="{{ URL::to("/realisasi-belanja") }}/`+ aData["id"] +`" method="POST">
|
||||
@csrf
|
||||
@method('DELETE')
|
||||
|
||||
Reference in New Issue
Block a user