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

@role('Admin|superadmin') @foreach ($MelekHuruf as $key => $item) @endforeach @endrole
No Variabel Jumlah Persentase
Laki Laki Perempuan Laki Laki + Perempuan Laki Laki Perempuan Laki Laki + Perempuan
1 PENDUDUK BERUMUR 15 TAHUN KE ATAS {{$laki_laki}} {{$perempuan}} {{$laki_laki + $perempuan}}
{{$key + 2}} {{$item->variabel}} status == 2?"disabled":""}} id="{{$item->id}}" 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}} {{$laki_laki>0?number_format($item->laki_laki/$laki_laki * 100, 2):0}} {{$perempuan>0?number_format($item->perempuan/$perempuan * 100, 2):0}} {{$perempuan + $laki_laki>0?number_format(($item->perempuan + $item->laki_laki)/($perempuan + $laki_laki) * 100, 2):0}}
@push('scripts') @endpush @push('scripts') @endpush @endsection