@if (isset($types['use']) && !empty($types['use'])) @if ($types['use'] <> 'other') @endif @endif @foreach (config('rent.rent_type') as $key => $text) @if (isset($types[$key]) && !empty($types[$key])) @endif @endforeach @if (!empty($rent->attachment)) @endif @if (count($rent->receipts)) @if ($rent->invoice_type <> 2) @endif @endif @if (isset($data['basic']['fee']['recognizance'])) @endif @if ($rent->role != 'normal') @endif @if ($rent->site_id != env('SITE_ID')) @endif @if (\Auth::user()->uid <> $rent->uid) @endif @if (!empty($rent->payment_deadline)) @endif @if (!empty($rent->remark)) @endif
場地
{{$rent->site_name}}
區域 @foreach ($areas as $area)
{{$area->name}}
@endforeach
日期
起:{{$rent->sdate}}
訖:{{$rent->edate}}
用途 {{config('rent.intramural_use')[$types['use']]}}
星期 @foreach ($course['weeks'] as $week)
{{config('rent.rent_week')[$week]}}
@endforeach
時間
起:{{$course['stime']}}
訖:{{$course['etime']}}
{{$text}} @if ($types[$key])是@else否@endif
附件 租借附件
收據 @foreach ($rent->receipts as $receipt) @php $text = config('rent.rent_receipt')[$receipt->kind]['name'].'收據'; @endphp
{{$text}}
@endforeach
發票格式 @php $types = config('rent.rent_invoice_type'); @endphp {{$types[$rent->invoice_type] ?? '未設定'}}
發票抬頭 {{$rent->invoice}}
統一編號 {{$rent->compilation}}
寄送地址 {{$rent->mailing_address}}
總金額試算 {{number_format($rent->rental)}}
保證金 {{ number_format($data['basic']['fee']['recognizance']) }}
申請/借用單位 {{ $rent->rent_unit }}
預估人數 {{ $rent->attendance }}
申請人 {{ $rent->user_name }}
狀態 {{ config('rent.status')[$rent->status] }}
繳費期限
{{$rent->payment_deadline}}
備註 {{ $rent->remark }}