@extends('layouts.admin.master') @section('title', 'Employee Position') @section('content') Employee Position Add New Employee Position Clear Save Employee Position Info @csrf Position Name * @error('position_name') {{ $message }} @enderror Other Name Discontinued Employee Position Lists No Position Name Other Name Discontinued Edit Delete @if (count($employeePositions) != 0) @php $count = 1; @endphp @foreach ($employeePositions as $employeePosition) {{ $count }} {{ $employeePosition['position_name'] }} {{ $employeePosition['other_name'] }} @if ($employeePosition['is_discontinued'] == 0) @elseif ($employeePosition['is_discontinued'] == 1) @endif @php $count++; @endphp @endforeach @endif Update Employee Position @csrf Position Name * Other Name Discontinued @csrf Are you sure want to delete? @endsection