AKB dan SPD CHT
This commit is contained in:
@@ -38,16 +38,25 @@
|
||||
<div class="col-6">
|
||||
<strong><i class="fa fa-th-list mr-2"></i> AKB</strong><hr style="margin-bottom: 0 !important;">
|
||||
<div class="row">
|
||||
<?php foreach(GetBulan() as $key=>$bulan){ ?>
|
||||
<?php
|
||||
$totalAKB = 0;
|
||||
foreach(GetBulan() as $key=>$bulan){ ?>
|
||||
<?= $key == 0 || $key == 6 ? "<div class='col-6'>":"" ?>
|
||||
<div class="form-group row">
|
||||
<label class="col-form-label col-md-5 col-sm-5 label-align" style="{{ $key%2==0?"background: #f2f2f2":"" }}">{{ $bulan }}</label>
|
||||
<div class="col-md-7 col-sm-7 ">
|
||||
<input class="form-control-plaintext text-right" style="{{ $key%2==0?"background: #f2f2f2":"" }}" value={{ separateNumberIndo($vwAKB["v_akb_".substr("00".($key+1),-2)]) }} readonly>
|
||||
<input class="form-control-sm form-control-plaintext text-right" style="{{ $key%2==0?"background: #f2f2f2":"" }}" value={{ separateNumberIndo($vwAKB["v_akb_".substr("00".($key+1),-2)]) }} readonly>
|
||||
</div>
|
||||
</div>
|
||||
<?= $key == 5 || $key == 11 ? "</div>":"" ?>
|
||||
<?php } ?>
|
||||
<?php
|
||||
$totalAKB+=floatVal($vwAKB["v_akb_".substr("00".($key+1),-2)]);
|
||||
} ?>
|
||||
</div>
|
||||
<div class="row" style="font-size:1.1em;">
|
||||
<div class="col-12"><hr></div>
|
||||
<div class="col-6">TOTAL AKB</div>
|
||||
<div class="col-6 text-right">{{ separateNumberIndo($totalAKB) }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
@@ -69,7 +78,7 @@
|
||||
</tr>
|
||||
<?php $totalSPD+=floatVal($spd->jml); } ?>
|
||||
<tr >
|
||||
<td colspan="2">Total</td>
|
||||
<td colspan="2">TOTAL SPD</td>
|
||||
<td class="text-right"><strong>{{ separateNumberIndo($totalSPD) }}</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user