@extends('layouts.app') @section('content')

Detail Wilayah

{{--
--}}
{{--

Pengguna

--}} {{--

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();.

--}}
{{--
@csrf

Export
--}}
@if(Auth::user()->downloadFile('KelompokUmur', Session::get('year')))
@csrf downloadFile('KelompokUmur', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('KelompokUmur', Session::get('year')) && Auth::user()->downloadFile('KelompokUmur', Session::get('year'))->file_name != "-") Download pdf file @endif Report

@role('Admin|superadmin') @foreach ($kelompokUmur as $key => $item) @endforeach @endrole
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}}
@push('scripts') @endpush @push('scripts') @endpush @endsection