Maintenance Kontrak

This commit is contained in:
Pusdatin BPKD Jkt
2022-08-01 16:44:30 +07:00
parent 0ad977b335
commit 77e56cafc9
18 changed files with 320 additions and 90 deletions
@@ -0,0 +1,28 @@
<form id="frmKontrak" action="{{ url('/realisasi-belanja/'.$BelanjaRealisasi->id.'/kontrak') }}" method="POST" autocomplete="off">
@csrf
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<div class="form-group">
<label>Nomor Kontrak</label>
<input type="text" id="nomor_kontrak" required class="form-control" name="nomor_kontrak" placeholder="Nomor Kontrak">
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<label>Tgl Kontrak</label>
<input type="text" id="tgl_kontrak" required class="form-control indo_date" name="tgl_kontrak" placeholder="Tanggal Kontrak">
</div>
</div>
<div class="col-xs-6 col-sm-6 col-md-6">
<div class="form-group">
<label>Nominal Kontrak</label>
<input type="text" id="nominal_kontrak" required class="form-control number-separator-indo" name="nominal_kontrak" placeholder="Nominal Kontrak">
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-12">
<button type="submit" class="btn btn-success"><i class="fa fa-paper-plane"></i> Simpan</button>
</div>
</div>
</form>
<script type="text/javascript">
</script>
@@ -39,7 +39,7 @@
<strong><i class="fa fa-th-list mr-2"></i> AKB vs Realisasi</strong><hr style="margin-bottom: 0 !important;">
<div class="row">
<div class='col-12'>
<table class="table table-striped table-bordered">
<table class="table table-striped">
<thead>
<th>Bulan</th>
<th class="text-right">AKB</th>
@@ -69,8 +69,31 @@
</div>
</div>
<div class="col-6">
<strong><i class="fa fa-th-list mr-2"></i> Data Kontrak</strong> [ <a class="modalButton" title="Input Kontrak" href="{{ url('/realisasi-belanja/'.$BelanjaRealisasi->id.'/kontrak') }}">Tambah Kontrak</a> ]<hr style="margin-bottom: 0 !important;">
<table class="table table-sm table-striped">
<thead>
<th>Nomor</th>
<th class="text-center">Tanggal</th>
<th class="text-right">Jumlah</th>
</thead>
<tbody>
<?php
$totalKontrak = 0;
foreach($BelanjaRealisasiKontrak as $key=>$kontrak){ ?>
<tr>
<td>{{ $kontrak->nomor_kontrak }}</td>
<td class="text-center">{{ date("d-m-Y",strtotime($kontrak->tgl_kontrak)) }}</td>
<td class="text-right">{{ separateNumberIndo($kontrak->nominal_kontrak) }}</td>
</tr>
<?php $totalKontrak+=floatVal($kontrak->nominal_kontrak); } ?>
<tr >
<td colspan="2"><strong>TOTAL Kontrak</strong></td>
<td class="text-right"><strong>{{ separateNumberIndo($totalKontrak) }}</strong></td>
</tr>
</tbody>
</table>
<strong><i class="fa fa-th-list mr-2"></i> SPD</strong><hr style="margin-bottom: 0 !important;">
<table class="table table-striped table-bordered">
<table class="table table-sm table-striped">
<thead>
<th>Nomor</th>
<th class="text-center">Tanggal</th>
@@ -92,8 +115,8 @@
</tr>
</tbody>
</table>
<strong><i class="fa fa-th-list mr-2 mt-4"></i> SP2D</strong><hr style="margin-bottom: 0 !important;">
<table class="table table-striped table-bordered">
<strong><i class="fa fa-th-list mr-2"></i> SP2D</strong><hr style="margin-bottom: 0 !important;">
<table class="table table-sm table-striped">
<thead>
<th>Nomor</th>
<th class="text-center">Tanggal</th>