@extends('layouts.app') @section('title', 'テンプレート一覧') @section('page-title', 'テンプレート') @section('page-subtitle') 契約書のひな形を登録します。まず基本情報(テンプレートID・名前・説明)を登録し、続けて署名者・文書・差込み項目などの詳細設定を行います。 @endsection @section('content')
契約書トップ
@if($templates->isEmpty())
テンプレートがありません

「テンプレートを追加」から基本情報を登録してください。

@else
@foreach($templates as $template) @php $isFavorite = in_array($template->id, $favoriteIds ?? [], true); @endphp @endforeach
テンプレートID テンプレート名 説明 更新日 操作
{{ $template->template_code ?: '—' }}
@csrf
{{ $template->name }} @if(($template->sharing_scope ?? 'owner') === 'all_operators') 全オペレーター @endif
{{ $template->description ? \Illuminate\Support\Str::limit($template->description, 60) : '—' }} {{ $template->updated_at?->format('Y-m-d H:i') }} 詳細設定
@csrf @method('DELETE')
@endif @endsection @push('scripts') @if($errors->any()) @endif @endpush