@extends('general.index', $setup) @section('tbody') @php use Illuminate\Support\Facades\Crypt; @endphp @foreach ($setup['items'] as $item) {{ $item->name }} @php // Define the parameter/ID for use in the JS routes $param = []; $param[$setup['parameter_name']] = $item->id; $encryptedId = Crypt::encrypt($item->id); @endphp @if ($setup['hasFloorPlan']) {{ __('Floor Plan') }} @endif @endforeach @endsection