@extends('layouts.admin') @section('content') @can('price_create')
{{ trans('global.add') }} {{ trans('cruds.price.title_singular') }}
@endcan
{{ trans('cruds.price.title_singular') }} {{ trans('global.list') }}
@foreach($prices as $key => $price) @endforeach
{{ trans('cruds.price.fields.id') }} {{ trans('cruds.price.fields.name') }} {{ trans('cruds.price.fields.price') }} {{ trans('cruds.price.fields.amenities') }}  
{{ $price->id ?? '' }} {{ $price->name ?? '' }} {{ $price->price ?? '' }} @foreach($price->amenities as $key => $item) {{ $item->name }} @endforeach @can('price_show') {{ trans('global.view') }} @endcan @can('price_edit') {{ trans('global.edit') }} @endcan @can('price_delete')
@endcan
@endsection @section('scripts') @parent @endsection