@extends('layout.layout') @section('content') @include('custom::component.reply-btn', ['url' => $return_url])
申請人資訊
@include('rent::component.user-data', ['user' => $user])
租借資訊
@include('rent::component.rent-detail', [ 'role' => 'admin', 'rent' => $rent, 'area' => $areas, 'types' => isset($data['types'])?$data['types']:array(), 'course' => isset($data['course'])?$data['course']:array(), ])
@if (isset($data['peripheral']) && count($data['peripheral']))
週邊設備
@include('rent::component.peripheral-detail', [ 'peripherals' => $data['peripheral'], ])
@endif @if (isset($data['isIntramural']) && empty($data['isIntramural']))
日期規劃
@include('rent::component.schedule-detail', [ 'dates' => $dates, 'basic' => isset($data['basic'])?$data['basic']:array(), ])
@endif @if(in_array($rent->status,['6b','0c','2c','3c','6c','0d','8','9']) && $rent->rental) @if (isset($data['peripheral']) && count($data['peripheral']))
@include('rent::component.trial-balance-detail', [ 'rental' => $rent->rental, 'dates' => $dates, 'basic' => isset($data['basic'])?$data['basic']:array(), 'peripherals' => isset($data['peripheral'])?$data['peripheral']:array(), ]) *實際繳交金額以信件通知為準!
@endif @endif {{-- @if (empty($data['types']['use']) || $data['types']['use'] == 'other') @if (isset($data['peripheral']) && count($data['peripheral'])) @endif @endif --}}
@can('manage', $rent) @if(!in_array($rent->status, ['N', 'M', '9'])) 審核 @endif @endcan @if ($rent->site_id == env('SITE_ID')) @if(!in_array($rent->status, ['M', '6', '0b', '2b', '3b', '6b', '0c', '2c', '3c', '6c', '8', '9'])) @endif @else @if(!in_array($rent->status, ['M', '6c', '0d', '8', '9'])) @endif @endif
@include('custom::component.delete-window', ['url' => route('admin.rent.destroy', $rent->id)]) @endsection {{-- Script --}} @push('scripts') @endpush