@extends('layouts.app') @section('content')
DataTables has most features enabled by
default, so all you need to do to use it with your own tables is to call
the construction function: $().DataTable();
.
No | JENIS KEJADIAN LUAR BIASA | YANG TERSERANG | WAKTU KEJADIAN (TANGGAL) | JUMLAH PENDERITA | KELOMPOK UMUR PENDERITA | JUMLAH KEMATIAN | JUMLAH PENDUDUK TERANCAM | ATTACK RATE (%) | CFR (%) | @role('Admin|superadmin')@endrole | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JUMLAH KEC | JUMLAH DESA/KEL | DIKETAHUI | DITANGGULANGI | AKHIR | L | P | L + P | 0-7 HARI | 8-28 HARI | 1-11 BLN | 1-4 THN | 5-9 THN | 10-14 THN | 15-19 THN | 20-44 THN | 45-54 THN | 55-59 THN | 60-69 THN | 70+ THN | L | P | L + P | L | P | L + P | L | P | L + P | L | P | L + P | |||
{{$loop->iteration}} | @php $lp_pen_ = $key->l_pen + $key->p_pen; echo $lp_pen_; @endphp {{-- {{number_format(($ditangani_24 / $jumlah) * 100, 2) . '%'}} --}} | @php $lp_mati_ = $key->l_mati + $key->p_mati; echo $lp_mati_; @endphp | @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) . '%'}} | |||||||||||||||||||||||||
{{$loop->iteration}} | {{$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}} |