@extends('layout.layout') @push('links') @endpush {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => route('rent.show', $rent->id)])
{{csrf_field()}} {{-- 繳費期限 --}}
{{-- 繳費日期 --}}
@if($errors->has('date')) @foreach ($errors->get('date') as $error)
{{$error}}
@endforeach @endif
@if($rent->status==='3c' || $rent->status==='6c' || $rent->status==='0d') {{-- 租金收據 --}}
格式 jpeg,bmp,png,gif,svg,pdf @if($errors->has('rental')) @foreach ($errors->get('rental') as $error)
{{$error}}
@endforeach @endif @if (count($rent->receipts->where('kind',3))) @foreach ($rent->receipts->where('kind',3) as $receipt) {{$receipt->filename}} @endforeach @endif 再次上傳檔案將自動替換!
@endif
@foreach (config('rent.rent_invoice_type') as $i => $label)
invoice_type) == $i) checked @endif>
@endforeach @if($errors->has('invoice_type')) @foreach ($errors->get('invoice_type') as $error)
{{$error}}
@endforeach @endif
{{-- 發票抬頭 --}}
@if($errors->has('invoice')) @foreach ($errors->get('invoice') as $error)
{{$error}}
@endforeach @endif
{{-- 借用單位統編 --}}
發票格式為三聯式時必填 @if($errors->has('compilation')) @foreach ($errors->get('compilation') as $error)
{{$error}}
@endforeach @endif
{{-- 收據/發票寄送地址 --}}
@if($errors->has('mailing_address')) @foreach ($errors->get('mailing_address') as $error)
{{$error}}
@endforeach @endif
@endsection {{-- Script --}} @push('scripts') @endpush