@extends('layouts.default', ['appTopMenu' => true]) @section('title', 'Employee Details') @push('head') @endpush @php // echo $option; // $option="Update"; @endphp @section('content') @if(!empty($empid)) @php // $option="Update"; $qdata=[]; @endphp @else @php // $option="New"; // session()->put('_old_input', []); $qdata=[]; @endphp @endif @php /*use App\Http\Controllers\Hrms\DaCounterController; echo $da = DaCounterController::get_da(); DaCounterController::update_da($da);*/ @endphp @if(Session::has('error')) {{Session::get('error')}} @endif @csrf Establisment @foreach ($establishmentData as $key => $value) {{ $value }} @endforeach @error('estb_code') {{ $message }} @enderror Type of User @foreach ($userTypeData as $key => $value) {{ $value }} @endforeach @error('user_type') {{ $message }} @enderror Working/Retired Working Retired @error('wr') {{ $message }} @enderror @if($option=="Update") Select User @error('user') {{ $message }} @enderror Get Details @endif @endsection @push('scripts') @endpush