@extends('layout.index') @section('title', 'Supervisor Edit') @section('content') Edit Supervisor Home Supervisor Edit Supervisor @if ($message = Session::get('error')) {{ $message }} × @endif {{ csrf_field() }} {{ method_field('PATCH') }} Pakages * Select Pakage @foreach ($aPakage as $val) id == $aSupervisor->Pakage_id) ? 'selected' : ''}}> {{ $val->Pakage_name }} @endforeach @error('Pakage_id') {{ $message }} @enderror Supervisor Name * @error('supervisor_name') {{ $message }} @enderror Gps Device Number User Name * @error('user_name') {{ $message }} @enderror Password @error('password') {{ $message }} @enderror Confirm Password @error('password_confirmation') {{ $message }} @enderror gender == 1){ echo "checked"; } @endphp /> Male gender == 0){ echo "checked"; } @endphp /> Female @error('gender') {{ $message }} @enderror Submit Cancel @endsection