@extends('front.include.app') @section('content')

{{ $studio->name ?? 'Studio' }} Studio

{{ $studio->description ?? 'No description available' }}

{{ $studio->amenities ?? 'No amenities information available' }}

Price: @if(isset($studio->price) && isset($studio->booking_type)) ${{ number_format($studio->price, 2) }} {{ str_replace('_', ' ', $studio->booking_type) }} @else Price not specified @endif

Max Guests: {{ $studio->no_guest ?? 'Not specified' }}

Status: {{ isset($studio->is_available) ? ($studio->is_available ? 'Available' : 'Not Available') : 'Status unknown' }}

{{-- Book Now --}} View Packages
@if($studio->getFirstMediaUrl('studio_images')) {{ $studio->name ?? 'Studio Image' }} @else Default Studio Image
No studio image available
@endif
@if($studio->getFirstMediaUrl('amenities_image') || !empty($studio->features))

Amenities & Features

@if($studio->getFirstMediaUrl('amenities_image'))
Amenities Image
@else

No amenities image available

@endif
@if(!empty($studio->features) && is_array($studio->features))
    @foreach($studio->features as $feature) @if(!empty(trim($feature)))
  • {{ $feature }}
  • @endif @endforeach
@else

No features listed for this studio

@endif
@endif @if($studio->getFirstMediaUrl('studio_video'))

Walkthrough Video

@else

Walkthrough Video

No walkthrough video available for this studio

@endif @if($studio->getMedia('gallery_images')->count() > 0)

Gallery Images

@foreach($studio->getMedia('gallery_images') as $image)
Gallery Image {{ $loop->iteration }}
@endforeach
@else

Gallery Images

No gallery images available for this studio

@endif {{-- @if(in_array($studio->booking_type, ['per_hour', 'per_day']))

Availability

@php $availability = []; if (!empty($studio->availability)) { if (is_string($studio->availability)) { $availability = json_decode($studio->availability, true) ?? []; } else if (is_array($studio->availability)) { $availability = $studio->availability; } } $days = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday']; @endphp @foreach($days as $day)
{{ ucfirst($day) }}
@if(isset($availability[$day]['full_day']) && $availability[$day]['full_day'])

Available: Full Day

@elseif(isset($availability[$day]['from']) && isset($availability[$day]['to'])) @php $fromTime = \Carbon\Carbon::createFromFormat('H:i', $availability[$day]['from']); $toTime = \Carbon\Carbon::createFromFormat('H:i', $availability[$day]['to']); @endphp

Available: {{ $fromTime->format('g:i A') }} - {{ $toTime->format('g:i A') }}

@else

Not available

@endif
@endforeach
@endif --}} @if($studio->packages->count() > 0)

Available Packages

@foreach($studio->packages as $package)

{{ $package->name }}

${{ number_format($package->price, 2) }}

Package

@if(!empty($package->features) && is_array($package->features))
    @foreach($package->features as $feature) @if(!empty(trim($feature)))
  • {{ $feature }}
  • @endif @endforeach
@else

No features listed for this package

@endif Book This Package
@endforeach
@else

Pricing Information

No packages available for this studio yet

{{-- Standard Rate: @if(isset($studio->price) && isset($studio->booking_type)) ${{ number_format($studio->price, 2) }} {{ str_replace('_', ' ', $studio->booking_type) }} @else Contact for pricing @endif --}}

@endif

Location & Directions

Testimonials

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 

JULIA PETTROV

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 

JULIA PETTROV

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 

JULIA PETTROV

@endsection @push('scripts') @endpush