Maintenance dan Bugs Fix
This commit is contained in:
@@ -52,40 +52,33 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<div class="row">
|
||||
<div class='col-12'>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>Bulan</th>
|
||||
<th class="text-right">AKB</th>
|
||||
<th class="text-right">Realisasi</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$totalAKB = 0; $totalBKU = 0;
|
||||
foreach(GetBulan() as $key=>$bulan){ ?>
|
||||
<tr>
|
||||
<td>{{ $bulan }}</td>
|
||||
<td class="text-right">{{ separateNumberIndo($vwAKB["v_akb_".substr("00".($key+1),-2)]) }} </td>
|
||||
<td class="text-right">{{ separateNumberIndo($vwAKB["v_bku_".substr("00".($key+1),-2)]) }} </td>
|
||||
</tr>
|
||||
<?php
|
||||
$totalAKB+=floatVal($vwAKB["v_akb_".substr("00".($key+1),-2)]);
|
||||
$totalBKU+=floatVal($vwAKB["v_bku_".substr("00".($key+1),-2)]);
|
||||
} ?>
|
||||
<tr>
|
||||
<td><strong>TOTAL</strong></td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalAKB) }}</strong></td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalBKU) }}</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>Bulan</th>
|
||||
<th class="text-right">AKB</th>
|
||||
<th class="text-right">Realisasi</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$totalAKB = 0; $totalBKU = 0;
|
||||
foreach(GetBulan() as $key=>$bulan){ ?>
|
||||
<tr>
|
||||
<td>{{ $bulan }}</td>
|
||||
<td class="text-right">{{ separateNumberIndo($vwAKB["v_akb_".substr("00".($key+1),-2)]) }} </td>
|
||||
<td class="text-right">{{ separateNumberIndo($vwAKB["v_bku_".substr("00".($key+1),-2)]) }} </td>
|
||||
</tr>
|
||||
<?php
|
||||
$totalAKB+=floatVal($vwAKB["v_akb_".substr("00".($key+1),-2)]);
|
||||
$totalBKU+=floatVal($vwAKB["v_bku_".substr("00".($key+1),-2)]);
|
||||
} ?>
|
||||
<tr>
|
||||
<td><strong>TOTAL</strong></td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalAKB) }}</strong></td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalBKU) }}</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{-- <div class="col-6">
|
||||
<strong><i class="fa fa-th-list mr-2"></i> SPD</strong><hr style="margin-bottom: 0 !important;">
|
||||
<table class="table table-sm table-striped">
|
||||
<thead>
|
||||
@@ -96,15 +89,15 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$totalSPD = 0;
|
||||
foreach($vwSPD as $key=>$spd){ ?>
|
||||
//$totalSPD = 0;
|
||||
//foreach($vwSPD as $key=>$spd){ ?>
|
||||
<tr>
|
||||
<td>{{ $key+1 }}</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>
|
||||
</tr>
|
||||
<?php $totalSPD+=floatVal($spd->jml); } ?>
|
||||
<?php //$totalSPD+=floatVal($spd->jml); } ?>
|
||||
<tr >
|
||||
<td colspan="3"><strong>TOTAL SPD</strong></td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalSPD) }}</strong></td>
|
||||
@@ -121,23 +114,23 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$totalSP2D = 0;
|
||||
foreach($vwSP2D as $key=>$sp2d){ ?>
|
||||
//$totalSP2D = 0;
|
||||
//foreach($vwSP2D as $key=>$sp2d){ ?>
|
||||
<tr>
|
||||
<td>{{ $key+1 }}</td>
|
||||
<td>{{ $sp2d->i_sp2dno_dok }}</td>
|
||||
<td class="text-center">{{ date("d-m-Y",strtotime($sp2d->d_sp2d_sah)) }}</td>
|
||||
<td class="text-right">{{ separateNumberIndo($sp2d->v_spp) }}</td>
|
||||
</tr>
|
||||
<?php $totalSP2D+=floatVal($sp2d->v_spp); } ?>
|
||||
<?php //$totalSP2D+=floatVal($sp2d->v_spp); } ?>
|
||||
<tr >
|
||||
<td colspan="3"><strong>TOTAL SP2D</strong></td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalSP2D) }}</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>--}}
|
||||
</div>
|
||||
</div>
|
||||
<?php if (strtoupper($BelanjaRealisasi->jenis_dana) == "DAK" && strtoupper($BelanjaRealisasi->sub_jenis_dana) == "FISIK") { ?>
|
||||
@@ -211,7 +204,7 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="sk">Jumlah Realisasi</label>
|
||||
<input type="text" class="form-control" name="jml_realisasi" disabled value="{{ separateNumberIndo($totalSP2D) }}">
|
||||
<input type="text" class="form-control" name="jml_realisasi" disabled value="{{ separateNumberIndo($jmlRealisasi) }}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="col-form-label label-align" for="sk">Volume Realisasi</label>
|
||||
|
||||
Reference in New Issue
Block a user