@php function fnSpasi($level) { $tmp=""; for ($f=1; $f<=$level; $f++) { $tmp.="    "; } return $tmp; } @endphp
LAPORAN INVESTASI
{{ $lokasi }}
Periode {{ $periode }}
@for ($i=0; $i < count($data) ; $i++) @php $line = $data[$i]; $persen1=0;$persen2=0;$persen3=0; if ($line['n3']!=0) { $persen1=($line['n1']/$line['n3'])*100; } if ($line['n4']!=0) { $persen2=($line['n1']/$line['n4'])*100; } if ($line['n2']!=0) { $persen3=($line['n1']-$line['n2'])/$line['n2']*100; } @endphp @if ($line['kode_neraca'] != "48" && $line['kode_fs'] == "FS3") @else @endif @endfor
Keterangan RKA {{ $tahun }} RKA s.d Bulan Berjalan {{ $tahun }} Realisasi s.d Bulan Berjalan {{ $tahun }} Realisasi s.d Bulan Berjalan {{ $tahunrev }} Realisasi s.d Bulan Berjalan thd RKA {{ $tahun }} Realisasi s.d Bulan Berjalan thd RKA s.d Bulan Berjalan {{ $tahun }} Growth Thd {{ $tahunrev }}
  1 2 3 4 5=3/1 6=3/2 7=(3-4)/4
{!! fnSpasi($line['level_spasi']) !!} {{ $line['nama'] }}{{ number_format($line['n3'],0,",",".") }} {{ number_format($line['n4'],0,",",".") }} {{ number_format($line['n1'],0,",",".") }} {{ number_format($line['n2'],0,",",".") }}{{ number_format($line['n3'],2,",",".") }}% {{ number_format($line['n4'],2,",",".") }}% {{ number_format($line['n1'],2,",",".") }}% {{ number_format($line['n2'],2,",",".") }}%{{ number_format($persen1,2,",",".") }}% {{ number_format($persen2,2,",",".") }}% {{ number_format($persen3,2,",",".") }}%