Anons79 Mini Shell

Directory : /home/aplikasiposinfo/www/e-tepian.aplikasipos.info/resources/views/export/
Upload File :
Current File : /home/aplikasiposinfo/www/e-tepian.aplikasipos.info/resources/views/export/rekap-opd.blade.php

<table border="1">
    <thead>
        <tr>
            <th rowspan="3"><center>No</center></th>
            <th rowspan="3">Kode</th>
            <th rowspan="3" ><center><strong>Perangkat Daerah</strong></center></th>
            <th colspan="2" rowspan="3">Pagu</th>
            <th colspan="4">Realisasi</th>
        </tr>
        <tr>
            <th>Fisik</th>
            <th colspan="3">Keuangan</th>
        </tr>
        <tr>
            <th>(%)</th>
            <th>(Rp)</th>
            <th>Pembayaran (%)</th>
            <th>Penyerapan (%)</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td colspan="3"><center>Pemerintah Kota Samarinda</center></td>
            <td>100%</td>
            <td>Rp{{number_format($total_pagu, 0, ',', '.')}}</td>
            <td>{{$total_pagu > 0 ?number_format($total_percent_fisik/$total_pagu, 2, ',', '.'):0}}%</td>
            <td>Rp{{number_format($total_reakuangan, 0, ',', '.')}}</td>
            <td>{{number_format(($total_reakuangan/($total_nilai_kontrak > 0 ? ($total_nilai_kontrak + $total_pagu_tanpa_realisasi) : 1))*100, 2, ',', '.')}}%</td>
            <td>{{number_format(($total_reakuangan/$total_pagu)*100, 2, ',', '.')}}%</td>
        </tr>
    @foreach($opd as $pd)
    <tr>
        <td>{{$loop->iteration}}</td>
        <td class="break-word">{{$pd->kode}}</td>
        <td>{{$pd->nama_perangkat_daerah}}</td>
        <td class="text-center">{{ number_format(($pd->total_pagu/$opd->sum('total_pagu'))*100 , 2, ',', '.') }}%</td>
        <td class="rupiah">Rp{{ number_format($pd->total_pagu, 0, ',', '.') }}</td>
        <td class="text-center" >{{ number_format($pd->total_pagu > 0?($pd->total_realisasi/($pd->total_pagu > 0 ? $pd->total_pagu : 1)):0, 2, ',', '.') }}%</td>
        <td class="rupiah">Rp{{ number_format($pd->realisasi_keuangan_pd, 0, ',', '.') }}</td>
        <td class="text-center">{{ number_format($pd->realisasi_keuangan_pd/($pd->total_nilai_kontrak > 0 ? ($pd->total_nilai_kontrak + $pd->total_pagu_tanpa_realisasi) : 1)*100 , 2, ',', '.') }}%</td>
        <td class="text-center">{{ number_format($pd->realisasi_keuangan_pd/($pd->total_pagu > 0 ? $pd->total_pagu : 1)*100 , 2, ',', '.') }}%</td>
    </tr>
    @endforeach
</tbody>
</table>

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]