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