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

{{$title}}

@if(Auth::user()->downloadFile('Kelahiran', Session::get('year')))
@csrf downloadFile('Kelahiran', Session::get('year'))->status == 1 ?"disabled":""}} class="form-control" placeholder="upload PDF file">
@else
@csrf
@endif @if(Auth::user()->hasFile('Kelahiran', Session::get('year'))) Download pdf file @endif Report Add
@role('Admin|superadmin') @endrole @role('Puskesmas|Pihak Wajib Pajak') @endrole @role('Admin|superadmin') @endrole @role('Admin|superadmin') @foreach ($unit_kerja as $key => $item) @if(isset($item->user) && $item->user->downloadFile('Kelahiran', Session::get('year'))) @elseif(isset($item->user) && !$item->user->downloadFile('Kelahiran', Session::get('year'))) @else @endif @if(isset($item->user) && $item->user->hasFile('Kelahiran', Session::get('year'))) @else @endif @endforeach {{-- --}} @endrole @role('Puskesmas|Pihak Wajib Pajak') @foreach ($desa as $key => $item) @if($item->filterKelahiran(Session::get('year'))) @endif @endforeach {{-- --}} @endrole
No KecamatanPuskesmasDesaJumlah KelahiranLock data Lock Upload File Download Detail Desa
Laki Laki Perempuan Laki Laki + Perempuan
Hidup Mati Hidup + Mati Hidup Mati Hidup + Mati Hidup Mati Hidup + Mati
{{$key + 1}} {{$item->kecamatan}} {{$item->nama}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_L"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_L"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_P"] + $item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_P"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_LP"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_mati_LP"]}} {{$item->kelahiran_per_desa(Session::get('year'))["lahir_hidup_mati_LP"]}} kelahiran_lock_get(Session::get('year')) == 1 ? "checked":""}} {{$item->kelahiran_lock_get(Session::get('year')) == 2 ? "disabled":""}} class="data-lock" id="{{$item->id}}">user->downloadFile('Kelahiran', Session::get('year'))->status == 1 ? "checked":""}} class="data-lock-upload" id="{{$item->user->id}}">- @if($item->user->downloadFile('Kelahiran', Session::get('year'))->file_name != "-") Download pdf file @else - @endif -
{{$total_ibu_hamil}} {{$total_k1}} {{$total_k4}} {{$total_k6}} {{$total_ibu_bersalin}} {{$total_fasyankes}} {{$total_kf1}} {{$total_kf_lengkap}} {{$total_vita}}
{{$key + 1}} {{$item->UnitKerja->kecamatan}} {{$item->nama}} filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_hidup_L" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L}}" class="form-control data-input" style="border: none"> filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_mati_L" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_mati_L}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_L + $item->filterKelahiran(Session::get('year'))->lahir_mati_L}} filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_hidup_P" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P}}" class="form-control data-input" style="border: none"> filterKelahiran(Session::get('year'))->status == 1 || $item->filterKelahiran(Session::get('year'))->status == 2?"disabled":""}} name="lahir_mati_P" id="{{$item->filterKelahiran(Session::get('year'))->id}}" value="{{$item->filterKelahiran(Session::get('year'))->lahir_mati_P}}" class="form-control data-input" style="border: none"> {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_P}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_mati_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_L}} {{$item->filterKelahiran(Session::get('year'))->lahir_hidup_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_P + $item->filterKelahiran(Session::get('year'))->lahir_mati_L + $item->filterKelahiran(Session::get('year'))->lahir_hidup_L}}
{{$total_ibu_hamil}} {{$total_k1}} {{$total_k4}} {{$total_k6}} {{$total_ibu_bersalin}} {{$total_fasyankes}} {{$total_kf1}} {{$total_kf_lengkap}} {{$total_vita}}
@push('scripts') @endpush @push('scripts') @endpush @endsection