@extends('layout.layout') @push('links') @endpush {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => $return_url])
{{csrf_field()}} {!! $form->render() !!}
@if (in_array($rent->status,['6','6c']))
@endif
@if (in_array($rent->status,['1','6','6b','6c','8','9','4','5']))
@endif @if ($rent->site_id == env('SITE_ID') && in_array($stage,[1,2,3,4]))
@if($errors->has('file.*')) @foreach($errors->get('file.*') as $key => $error)
{{ $errors->first($key) }}
@endforeach @endif
@endif @foreach ($rent->approvalfiles()->where('stage',$stage)->get() as $file) @endforeach
上傳格式僅提供png、jpeg、odt、ods、pdf
@if (!empty($rent->attachment)) @else
@endif @if (count($rent->receipts)) @foreach ($rent->receipts as $receipt) @php $text = config('rent.rent_receipt')[$receipt->kind]['name'].'收據'; @endphp @endforeach @endif
@endsection {{-- Script --}} @push('scripts') @endpush