@extends('layout.layout') {{-- Style --}} @push('links') @endpush {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => route('user.rent.site', ['id' => $site->id])])
{{csrf_field()}}

{{$site->name}}

歡迎租借

@if (!in_array($use, ['course', 'club'])) @foreach ($dates as $date) @php $uses = []; $items = [ 'before' => [ 'Y' => 0, 's' => 0, 'e' => 8, ], 'period' => [], 'after' => [ 'Y' => 0, 's' => 22, 'e' => 24, ], ]; @endphp @foreach (config('rent.rent_use') as $type => $text) @php $values = []; if (!empty($data['basic']['date'][$date][$type])) { $uses = $data['basic']['date'][$date]['use']; $items = $data['basic']['date'][$date][$type]; $values = (!empty($items['period'])) ? $items['period'] : []; } @endphp @if ($type == 1) @endif @endforeach @endforeach @endif
@foreach (config('rent.rent_use') as $type => $text) @if ($type == 1) @endif @endforeach
@foreach (config('rent.rent_period') as $key => $period)
@endforeach
時至~
時至~
@endsection {{-- Script --}} @push('scripts') @endpush