@extends('layouts.admin.master') @section('title', 'Table') @section('content')
Table
@csrf
@error('table_name')
{{ $message }}
@enderror
@error('floor')
{{ $message }}
@enderror
@if (count($tables) != 0) @php $count = 1; @endphp @foreach ($tables as $table) @if ($table['table_is_discontinued'] == 0) @elseif ($table['table_is_discontinued'] == 1) @endif @php $count++; @endphp @endforeach @endif
No Table Name Other Name Floor Discontinued Edit Delete
{{ $count }} {{ $table['table_name'] }} {{ $table['table_other_name'] }} {{ $table['floor_name'] }}
@endsection