契約内容マスタのリスト表示での契約内容を100文字に制限
All checks were successful
Deploy main / deploy (push) Successful in 22s

This commit is contained in:
kin.rinzen 2025-10-08 09:53:45 +09:00
parent a810800677
commit fd6686d5c9
2 changed files with 6 additions and 4 deletions

View File

@ -81,14 +81,14 @@
</div>
</div>
{{-- 約内容 --}}
{{-- 約内容 --}}
<div class="col-3 form-group">
<label class="required">{{ __('約内容') }}</label>
<label class="required">{{ __('約内容') }}</label>
</div>
<div class="form-group col-9">
<div class="input-group">
<textarea name="terms_text" rows="5" class="form-control form-control-lg"
placeholder="{{ __('約内容') }}">{{ old('terms_text', $term->terms_text ?? '') }}</textarea>
placeholder="{{ __('約内容') }}">{{ old('terms_text', $term->terms_text ?? '') }}</textarea>
</div>
</div>

View File

@ -97,7 +97,9 @@
<td class="sm-item text-left align-middle">{{ $term->city_id }}</td>
<td class="sm-item text-left align-middle">{{ $term->use_flag ? '○' : '' }}</td>
<td class="sm-item text-left align-middle">{{ $term->terms_revision }}</td>
<td class="sm-item text-left align-middle">{{ $term->terms_text }}</td>
<td class="sm-item text-left align-middle">
{{ \Illuminate\Support\Str::limit($term->terms_text, 100) }}
</td>
<td class="sm-item text-left align-middle">{{ $term->memo }}</td>
<td class="sm-item text-left align-middle">{{ \Carbon\Carbon::parse($term->start_date)->format('Y-m-d') }}</td>
</tr>