@extends('layouts.master') @section('title', 'Workload Arrangement Table for Age Range (Special)') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header') @include('layouts.title')
@yield('title')


@foreach ($age_types as $item) @endforeach @foreach ($WAages as $index => $w) {{-- แสดงเสมอ --}} {{-- dynamic age_type columns --}} @foreach ($age_types as $item) @php $value = $wages ->where('wage_name', $w->WAage_id) ->where('wage_type_id', $item->age_type_id) ->first(); @endphp @endforeach @endforeach
No. Workload Arrangement Unit{{ $item->age_type_name }}
{{ $index + 1 }}{{ $w->WAage_title }} {{ $w->unit_name ?? '-' }} {{ $value->wage_value ?? '-' }}
@include('layouts.footer') @endsection