@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 | Kelompok Umur | Laki Laki | Perempuan | Laki Laki + Perempuan | Rasio Jenis Kelamin |
---|---|---|---|---|---|
{{$key + 1}} | {{$item->batas_bawah}} - {{$item->batas_atas}} | status == 2?"disabled":""}} value="{{$item->laki_laki}}" class="form-control data-input" style="border: none"> | status == 2?"disabled":""}} value="{{$item->perempuan}}" class="form-control data-input" style="border: none"> | {{$item->laki_laki + $item->perempuan}} | {{$item->perempuan>0?number_format($item->laki_laki/$item->perempuan * 100, 2):0}} |
{{$total_laki_laki}} | {{$total_perempuan}} | {{$total_laki_laki + $total_perempuan}} | {{$total_perempuan > 0?number_format($total_laki_laki/$total_perempuan * 100, 2):0}} |