{{-- 申請者用の一覧と承認者用の一覧はほとんど同じ構成なので、双方でこのビューを使う --}}
@extends('scvflow.default')
@section('title', $title)
@section('description', '')
@section('head')
@stop
@section('content')
{{ $cnt }} 件の申請があります。承認されたファイルは青色、否認されたファイルは赤色で表示しています。
@if ($authorizer_page)
ファイル名をクリックすると、各申請の詳細情報を確認できます。
@endif
| {{ html()->checkbox('chk_all', false, 0) }} | 状態 | 申請種別 | ファイル名 | コメント | @if ($authorizer_page)申請者 | @else承認者 | @endif申請日時 | 承認日時 | 承認者コメント | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ html()->checkbox('dl_keys[]', false, $request->dl_key)->if($request->status !== 'waiting', fn($html) => $html->disabled()) }} | {{-- 2番目のカラム(状態) --}} @if ($request->status === 'waiting'){{ $request->jpstatus }} | @elseif ($request->status === 'permitted'){{ $request->jpstatus }} | @elseif ($request->status === 'denied'){{ $request->jpstatus }} | @else{{ $request->jpstatus }} | @endif {{-- 3番目のカラム (申請種別) --}}{{ $request->jp_action_type }} | {{-- 4番目のカラム(ファイル名) --}} @if ($authorizer_page){{ $request->filename }} | @elseif ($request->status === 'permitted'){{ $request->filename }} | @else{{ $request->filename }} | @endif {{-- 5番目のカラム(コメント) --}} @if ($request->comment){{ $request->comment }} | @else<なし> | @endif {{-- 6番目のカラム(申請者 or 承認者の部署と氏名) --}} @if ($authorizer_page){{ $request->applicant_summary }} | @else{!! nl2br(e($request->authorizers_overall_summary)) !!} | @endif {{-- 7番目のカラム(申請日時) --}}{{ $request->requested_at }} | {{-- 8番目のカラム(承認日時) --}} @if ($request->status == 'waiting')<未承認> | @else{{ $request->authorized_at }} | @endif {{-- 9番目のカラム(承認者コメント) --}} @if ($request->why_denied){{ $request->why_denied }} | @else<なし> | @endif
| 条件に一致する申請はありません。 | |||||||||||||||||