@extends('layouts.app') @section('title', '契約書一覧') @section('page-title', '契約書一覧') @section('page-subtitle') 送受信した文書を管理・検索します。文書管理番号・相手方・契約日・金額などで絞り込めます(CSV 出力対応)。 @endsection @section('content')
契約書トップ
フォルダ管理 CSV 新規で作成 テンプレートから作成
@php $activeCompanyTab = $activeCompanyTab ?? 'all'; $showCompanyTabs = ($businessSettings ?? collect())->isNotEmpty() || ($unassignedCount ?? 0) > 0; $companyTabBaseQuery = collect($filters ?? [])->except('company')->filter(fn ($v) => $v !== null && $v !== '')->all(); @endphp @if($showCompanyTabs) @endif

検索・絞り込み

@if($activeCompanyTab !== 'all') @endif
クリア
@if($instances->isEmpty())
条件に合う契約書がありません。
@else
@if($showCompanyTabs && $activeCompanyTab === 'all') @endif @foreach($instances as $instance) @if($showCompanyTabs && $activeCompanyTab === 'all') @endif @endforeach
文書管理番号 文書名対応会社相手方 ステータス 契約日 満了日 金額 登録日時 操作
{{ $instance->document_number ?? '—' }} {{ $instance->title }}{{ $instance->businessSetting?->displayName() ?? '—' }}{{ $instance->counterparty ?: '—' }} {{ $instance->statusLabel() }} {{ $instance->contract_date?->format('Y-m-d') ?? '—' }} {{ $instance->contract_expires_at?->format('Y-m-d') ?? '—' }} @if($instance->amount !== null){{ number_format((float)$instance->amount) }} {{ $instance->amount_currency }}@else — @endif {{ $instance->created_at?->format('Y-m-d H:i') }} 開く
@if($instances->hasPages()) @endif
@endif @endsection