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