@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 | Desa | KLB DI DESA/KELURAHAN | @role('Admin')Lock data | @endrole||
---|---|---|---|---|---|
JUMLAH | DITANGANI < 24 JAM | % | |||
{{ $key + 1 }} | {{ $item->nama }} | @php $jumlah = $item ->filterTable70( app('request')->input('year'), $item->id, ) ->jumlah; $GrandJumlah += $jumlah; @endphp | @php $ditangani_24 = $item ->filterTable70( app('request')->input('year'), $item->id, ) ->ditangani_24; $Grandditangani_24 += $ditangani_24; @endphp | {{number_format(($ditangani_24 / $jumlah) * 100, 2) . '%'}} | |
JUMLAH | {{ $GrandJumlah }} | {{ $Grandditangani_24 }} | {{number_format(($Grandditangani_24 / $GrandJumlah) * 100, 2) . '%'}} |