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

Tenaga Kesehatan Masyararakat, Lingkungan dan Gizi

{{--
{!! Form::select('induk_opd_id',$induk_opd_arr,"",['class'=>'form-control daerah', 'form'=>'storeForm','required'=>'required','placeholder'=>'Pilih SKPD', 'id'=>'induk_opd']) !!}
--}} {{--

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

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

@role("Pihak Wajib Pajak") @endrole {{-- --}} @foreach ($unit_kerja as $item) {{-- --}} @role("Pihak Wajib Pajak") @if($item->TenagaKesehatanMasyarakat->status == 2) @else @endif @endrole @endforeach
No Unit Kerja Tenaga Kesehatan Masyarakat Tenaga Kesehatan Lingkungan Tenaga GiziAction
L P L + P L P L + P L P L + P
{{$item->id}} {{$item->nama}} {{$item->TenagaKesehatanMasyarakat->laki_laki ?? 0}} {{$item->TenagaKesehatanMasyarakat->perempuan ?? 0}} {{($item->TenagaKesehatanMasyarakat->laki_laki ?? 0) + ($item->TenagaKesehatanMasyarakat->perempuan ?? 0)}} {{($item->TenagaKesehatanLingkungan->laki_laki ?? 0)}} {{($item->TenagaKesehatanLingkungan->perempuan ?? 0)}} {{($item->TenagaKesehatanLingkungan->laki_laki ?? 0) + ($item->TenagaKesehatanLingkungan->perempuan ?? 0)}} {{($item->TenagaGizi->laki_laki ?? 0)}} {{($item->TenagaGizi->perempuan ?? 0)}} {{($item->TenagaGizi->laki_laki ?? 0) + ($item->TenagaGizi->perempuan ?? 0)}}
@push('scripts') @endpush @push('scripts') @endpush {{-- @push('scripts') @endpush --}} @endsection