@role('Admin|superadmin')
@foreach ($table71 as $key)
{{ $key->jenis_kejadian }}
|
{{ $key->jumlah_kec }}
|
{{ $key->jumlah_desa }}
|
{{ $key->diketahui }}
|
{{ $key->ditanggulangi }}
|
{{ $key->akhir }}
|
{{ $key->l_pen }}
|
{{ $key->p_pen }}
|
@php
$lp_pen_ = $key->l_pen + $key->p_pen;
@endphp
{{ $lp_pen_ }}
|
{{ $key->k_0_7_hari }}
|
{{ $key->k_8_28_hari }}
|
{{ $key->k_1_11_bulan }}
|
{{ $key->k_1_4_tahun }}
|
{{ $key->k_5_9_tahun }}
|
{{ $key->k_10_14_tahun }}
|
{{ $key->k_15_19_tahun }}
|
{{ $key->k_20_44_tahun }}
|
{{ $key->k_45_54_tahun }}
|
{{ $key->k_55_59_tahun }}
|
{{ $key->k_60_69_tahun }}
|
{{ $key->k_70_plus_tahun }}
|
{{ $key->l_mati }}
|
{{ $key->p_mati }}
|
@php
$lp_mati_ = $key->l_mati + $key->p_mati;
@endphp
{{ $lp_mati_ }}
|
{{ $key->l_penduduk }}
|
{{ $key->p_penduduk }}
|
@php
$lp_penduduk_ = $key->l_penduduk + $key->p_penduduk;
echo $lp_penduduk_;
@endphp
|
{{number_format(($key->l_pen / $key->l_penduduk) * 100, 2) . '%'}}
|
{{number_format(($key->p_pen / $key->p_penduduk) * 100, 2) . '%'}}
|
{{number_format(($lp_pen_ / $lp_penduduk_) * 100, 2) . '%'}}
|
{{number_format(($key->l_pen / $key->l_mati) * 100, 2) . '%'}}
|
{{number_format(($key->p_pen / $key->p_mati) * 100, 2) . '%'}}
|
{{number_format(($lp_pen_ / $lp_mati_) * 100, 2) . '%'}}
|
@endforeach
@endrole
@role('Puskesmas|Pihak Wajib Pajak')
@foreach ($table71 as $key)
{{$key->jenis_kejadian}} |
{{$key->jumlah_kec}} |
{{$key->jumlah_desa}} |
{{$key->diketahui}} |
{{$key->ditanggulangi}} |
{{$key->akhir}} |
{{$key->l_pen}} |
{{$key->p_pen}} |
@php
$lp_pen_ = $key->l_pen + $key->p_pen;
echo $lp_pen_;
@endphp
{{-- {{number_format(($ditangani_24 / $jumlah) * 100, 2) . '%'}} --}}
|
{{$key->k_0_7_hari}} |
{{$key->k_8_28_hari}} |
{{$key->k_1_11_bulan}} |
{{$key->k_1_4_tahun}} |
{{$key->k_5_9_tahun}} |
{{$key->k_10_14_tahun}} |
{{$key->k_15_19_tahun}} |
{{$key->k_20_44_tahun}} |
{{$key->k_45_54_tahun}} |
{{$key->k_55_59_tahun}} |
{{$key->k_60_69_tahun}} |
{{$key->k_70_plus_tahun}} |
{{$key->l_mati}} |
{{$key->p_mati}} |
@php
$lp_mati_ = $key->l_mati + $key->p_mati;
echo $lp_mati_;
@endphp
|
{{$key->l_penduduk}} |
{{$key->p_penduduk}} |
@php
$lp_penduduk_ = $key->l_penduduk + $key->p_penduduk;
echo $lp_penduduk_;
@endphp
|
{{$key->l_penduduk>0?number_format(($key->l_pen / $key->l_penduduk) * 100, 2) . '%':0}}
|
{{$key->p_penduduk>0?number_format(($key->p_pen / $key->p_penduduk) * 100, 2) . '%':0}}
|
{{$lp_penduduk_>0?number_format(($lp_pen_ / $lp_penduduk_) * 100, 2) . '%':0}}
|
{{$key->l_mati>0?number_format(($key->l_pen / $key->l_mati) * 100, 2) . '%':0}}
|
{{$key->p_mati>0?number_format(($key->p_pen / $key->p_mati) * 100, 2) . '%':0}}
|
{{$lp_mati_>0?number_format(($lp_pen_ / $lp_mati_) * 100, 2) . '%':0}}
|
@endforeach
@endrole