@extends('layout.layout')
@php
$chargeType = $data['chargeType'] ?? 'period';
@endphp
@section('content')
@include('custom::component.reply-btn', ['url' => url()->previous()])
@include('rent::component.trial-balance-detail', [
'rental' => $rent->rental,
'dates' => $dates,
'chargeType' => $chargeType,
'basic' => isset($data['basic'])?$data['basic']:array(),
'peripherals' => isset($data['peripheral'])?$data['peripheral']:array(),
])
*實際繳交金額以信件通知為準!
@endif
@endif
@endif
@can('manage', $rent)
@if ($rent->status === 'N')
編輯
@elseif (in_array($rent->status, ['0', '4']))
編輯
@elseif (in_array($rent->status, ['3b', '0c']))
填寫租借資料
@elseif (in_array($rent->status, ['3', '6', '0b', '3c', '6c', '0d']) && (\Auth::user()->role != 'student' && \Auth::user()->role != 'teacher'))
上傳收據
@endif
@endcan
@if(in_array($rent->status, ['N', '0', '1', '4', '5']))
@endif
@include('custom::component.delete-window', ['url' => route('user.rent.destroy', $rent)])
@endsection
{{-- Script --}}
@push('scripts')
@endpush