@extends('layout.layout') @php $pageTitle = '租借資訊'; @endphp @section('content')

{{$pageTitle}}

@include('custom::component.reply-btn', ['url' => url()->previous()])

申請人資訊

@if ($rent->is_show || (\Auth::check() && \Auth::user()->role == 'admin')) @include('rent::component.user-data', ['user' => $user]) @if ($user && $user->role == 'firm')
活動名稱 {{$rent->description}}
@endif @else
狀態 {{ $status }}
@endif

租借資訊

@if ($rent->site_id) @endif @if(!is_null($rent->weekday)) @endif
說明
{{$rent->description}}
場地
{{$rent->site_name}}
區域 @foreach ($areas as $area)
{{$area->name}}
@endforeach
日期
起:{{$rent->sdate}}
訖:{{$rent->edate}}
週期
{{$rent->weekday}}
@include('custom::component.delete-window', ['url' => route('user.rent.destroy', $rent->id)]) @endsection {{-- Script --}} @push('scripts') @endpush