@extends('layouts.master') @section('content')
Back
{{$pageTitle}}
@csrf @foreach($fields as $field_name => $label) @if($field_name != 'id' && $field_name != 'Actions' && $field_name != 'emp_id')
{{ $label }}
@error($field_name)
{{ $message }}
@enderror
@endif @if($field_name == 'emp_id')
{{ $label }}
@foreach($employees as $employee)
{{ $employee->man_number }}
@endforeach
Employee Name
@endif @endforeach
Status
Active
Inactive
Submit
@endsection