@extends('layouts.master') @section('title', 'Workload Arrangement for Administrative Position Add/Edit') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header') @include('layouts.title') Home Employee Contract Administrative Position Administrative Position Type Workload Arrangement Table for Administrative Position @yield('title') {{ csrf_field() }} {{-- Position Header --}} Position Workload Arrangement Unit Value @foreach($Wadpositions as $w) @php $existing = $wpositions ->where('wposition_name', $w->Wadposition_id) ->first(); @endphp {{-- Workload Arrangement Name --}} {{ $w->Wadposition_title }} {{-- Unit --}} @php $unit = $units->where('unit_id', $w->Wadposition_unit)->first(); @endphp {{ $unit->unit_name ?? '-' }} {{-- Value --}} @endforeach Save @include('layouts.footer') @endsection